Invalid Pointer error when running CNN example from NXPVT on S32V234SBC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Invalid Pointer error when running CNN example from NXPVT on S32V234SBC

12,794件の閲覧回数
fhuber783
Contributor II

Hello,

I am currently trying to get a CNN running on the S32V234SBC. 

I am using the following setup:

Windows10

Matlab R2019b

NXP Vision Toolbox 1.2.0

NXP Vision SDK 1.4.0

NXP Compiler for APU 1.0 b530

ARM Compute Library 18.05 (as recommended in the readme for the CNN examples)

Yocto RTM 1.4.0

When I run the script run_application.m in ...\MATLAB_AddOns\Toolboxes\NXP_Vision_Toolbox_for_S32V234\examples\advanced\cnn compilation seems to finish successfully, but when deploying I get the following pointer error:

For AlexNet (I get an invalid pointer error with SqueezeNet as well):

Deploying convnet.elf on 192.168.1.235 ...
*** Error in `./convnet.elf': free(): invalid pointer: 0x0000000008860ea8 ***

Can anybody point me in the right direction what I am doing wrong? All necessary MATLAB Toolboxes and Support Packages as described in the Quick Start Guide are installed. Thanks in advance!

Full MATLAB command window output is the following:

>> run_application
FFmpeg library already installed
Generating code for ARM
------------------------------------------------------------------------
Compilation suppressed: generating code only.
------------------------------------------------------------------------
### Codegen Successfully Generated for arm device
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWElementwiseAffineLayer.o" "MWElementwiseAffineLayer.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWFusedConvReLULayer.o" "MWFusedConvReLULayer.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "cnn_api.o" "cnn_api.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWCNNLayerImpl.o" "MWCNNLayerImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWElementwiseAffineLayerImpl.o" "MWElementwiseAffineLayerImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWFusedConvReLULayerImpl.o" "MWFusedConvReLULayerImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWTargetNetworkImpl.o" "MWTargetNetworkImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/arm_compute-v18.05-bin-linux -IC:/arm_compute-v18.05-bin-linux/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "cnn_exec.o" "cnn_exec.cpp"
### Creating static library ./cnnbuild.a ...
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-ar.exe ruvs ./cnnbuild.a MWElementwiseAffineLayer.o MWFusedConvReLULayer.o cnn_api.o MWCNNLayerImpl.o MWElementwiseAffineLayerImpl.o MWFusedConvReLULayerImpl.o MWTargetNetworkImpl.o cnn_exec.o
a - MWElementwiseAffineLayer.o
a - MWFusedConvReLULayer.o
a - cnn_api.o
a - MWCNNLayerImpl.o
a - MWElementwiseAffineLayerImpl.o
a - MWFusedConvReLULayerImpl.o
a - MWTargetNetworkImpl.o
a - cnn_exec.o
C:\NXP\VisionSDK_S32V2_RTM_1_4_0\compilers\gcc-6.3.1-linaro-Xarmv8-linux\i686-mingw32\bin\aarch64-linux-gnu-ar.exe: creating ./cnnbuild.a
### Created: ./cnnbuild.a
### Successfully generated all binary outputs.
### Using toolchain: S32DS Vision GCC
### Creating 'C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\convnet\convnet_rtw.mk' ...
Warning: Directory already exists.
> In nxpvt_build
In nxpvt_make
In nxpvt_codegen
In nxpvt_runner/Run (line 63)
In run_application (line 7)

C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\convnet>SET PATH=C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Program Files\MATLAB\R2019b\bin\win64;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\oal;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\opencv;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\target;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\Program Files\PuTTY\;C:\Program Files\MATLAB\R2019b\runtime\win64;C:\Program Files\MATLAB\R2019b\bin;C:\Users\Franz\AppData\Local\Microsoft\WindowsApps

C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\convnet>SET PATH=C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Program Files\MATLAB\R2019b\bin\win64;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\oal;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\opencv;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\target;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\Program Files\PuTTY\;C:\Program Files\MATLAB\R2019b\runtime\win64;C:\Program Files\MATLAB\R2019b\bin;C:\Users\Franz\AppData\Local\Microsoft\WindowsApps

C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\convnet>SET PATH=C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Program Files\MATLAB\R2019b\bin\win64;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\oal;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\opencv;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\target;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\Program Files\PuTTY\;C:\Program Files\MATLAB\R2019b\runtime\win64;C:\Program Files\MATLAB\R2019b\bin;C:\Users\Franz\AppData\Local\Microsoft\WindowsApps
Current SDK ROOT is /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk
make[1]: Entering directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/convnet/build-v234ce-gnu-linux-o'
You use pre-built vsdk system libraries. You need to set PRE_BUILT_SYSTEM_LIBS=0 if you change the vsdk source code.
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/isp/graphs/mipi_simple/dynamic_mipi_simple/build-v234ce-gnu-linux-o'
make[-]: skipping directory /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/isp/firmware/build-v234ce-gnu-linux-o
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/isp/graphs/mipi_simple/dynamic_mipi_simple/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/isp/graphs/mipi_simple/dynamic_mipi_simple/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/isp/graphs/mipi_simple/dynamic_mipi_simple/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/sdi/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/sdi/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/sdi/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/sdi/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/cam_generic/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/cam_generic/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/cam_generic/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/cam_generic/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/csi/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/csi/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/csi/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/csi/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/fdma/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/fdma/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/fdma/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/fdma/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264dec/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264dec/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264dec/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264dec/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264enc/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264enc/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264enc/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264enc/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/jpegdec/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/jpegdec/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/jpegdec/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/jpegdec/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/sequencer/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/sequencer/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/sequencer/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/sequencer/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/viu/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/viu/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/viu/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/viu/user/build-v234ce-gnu-linux-o'
make[-]: skipping directory /c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Nothing to be done for 'apu_graphs'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Nothing to be done for 'apu_graphs_link'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[6]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[7]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[6]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[6]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Nothing to be done for 'apu_graphs'.
make[7]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Nothing to be done for 'apu_graphs_link'.
make[7]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[6]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/convnet/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/convnet/build-v234ce-gnu-linux-o'
.C0_headdep.mk: updating convnet_emxutil-cpp.C0.d
.C0_headdep.mk: updating main-cpp.C0.d
.C0_headdep.mk: updating sprintf-cpp.C0.d
.C0_headdep.mk: updating imread-cpp.C0.d
.C0_headdep.mk: updating CNN-cpp.C0.d
.C0_headdep.mk: updating convnet-cpp.C0.d
.C0_headdep.mk: updating convnet_terminate-cpp.C0.d
.C0_headdep.mk: updating convnet_initialize-cpp.C0.d
.C0_headdep.mk: updating convnet_data-cpp.C0.d
.C0_headdep.mk: updating nxpvt_cnn-cpp.C0.d
.C0_headdep.mk: updating nxpvt_cnn_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_apexcv_resize_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_videoreader_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_videoreader-cpp.C0.d
.C0_headdep.mk: updating nxpvt_videoinput_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_videoinput-cpp.C0.d
.C0_headdep.mk: updating nxpvt_utils-cpp.C0.d
.C0_headdep.mk: updating nxpvt_imshow_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_imread_w-cpp.C0.d
.C0_headdep.mk: updating camera_input-cpp.C0.d
.C0_headdep.mk: updating nxpvt_umat_w-cpp.C0.d
arm64/gnu/optimized CX nxpvt_umat_w-cpp.o
arm64/gnu/optimized CX camera_input-cpp.o
arm64/gnu/optimized CX nxpvt_imread_w-cpp.o
arm64/gnu/optimized CX nxpvt_imshow_w-cpp.o
arm64/gnu/optimized CX nxpvt_utils-cpp.o
arm64/gnu/optimized CX nxpvt_videoinput-cpp.o
arm64/gnu/optimized CX nxpvt_videoinput_w-cpp.o
arm64/gnu/optimized CX nxpvt_videoreader-cpp.o
arm64/gnu/optimized CX nxpvt_videoreader_w-cpp.o
arm64/gnu/optimized CX nxpvt_apexcv_resize_w-cpp.o
arm64/gnu/optimized CX nxpvt_cnn_w-cpp.o
arm64/gnu/optimized CX nxpvt_cnn-cpp.o
arm64/gnu/optimized CX convnet_data-cpp.o
arm64/gnu/optimized CX convnet_initialize-cpp.o
arm64/gnu/optimized CX convnet_terminate-cpp.o
arm64/gnu/optimized CX convnet-cpp.o
arm64/gnu/optimized CX CNN-cpp.o
arm64/gnu/optimized CX imread-cpp.o
arm64/gnu/optimized CX sprintf-cpp.o
arm64/gnu/optimized CX main-cpp.o
arm64/gnu/optimized CX convnet_emxutil-cpp.o
arm64/gnu/optimized LD convnet.elf <= nxpvt_umat_w-cpp.o camera_input-cpp.o nxpvt_imread_w-cpp.o nxpvt_imshow_w-cpp.o nxpvt_utils-cpp.o nxpvt_videoinput-cpp.o nxpvt_videoinput_w-cpp.o nxpvt_videoreader-cpp.o nxpvt_videoreader_w-cpp.o nxpvt_apexcv_resize_w-cpp.o nxpvt_cnn_w-cpp.o nxpvt_cnn-cpp.o convnet_data-cpp.o convnet_initialize-cpp.o convnet_terminate-cpp.o convnet-cpp.o CNN-cpp.o imread-cpp.o sprintf-cpp.o main-cpp.o convnet_emxutil-cpp.o /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o/libacf.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o/libapexdrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o/libicp.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o/apexcv_common.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o/libcommon.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o/lib_communications.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o/liblog.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o/libsumat.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o/libumat.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/isp/graphs/mipi_simple/dynamic_mipi_simple/build-v234ce-gnu-linux-o/libdynamic_mipi_simple.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o/libframe_io.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/sdi/build-v234ce-gnu-linux-o/libsdi.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/cam_generic/user/build-v234ce-gnu-linux-o/libcamdrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/csi/user/build-v234ce-gnu-linux-o/libcsidrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/fdma/user/build-v234ce-gnu-linux-o/libfdmadrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264dec/user/build-v234ce-gnu-linux-o/libh264decdrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/h264enc/user/build-v234ce-gnu-linux-o/libh264encdrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/jpegdec/user/build-v234ce-gnu-linux-o/libjpegdecdrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/sequencer/user/build-v234ce-gnu-linux-o/libseqdrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/isp/viu/user/build-v234ce-gnu-linux-o/libviudrv.a C:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/cnnbuild.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o/apexcv_pro_resize.a
------------------------------------------------------------
make[3]: Leaving directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/convnet/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/convnet/build-v234ce-gnu-linux-o'
make[1]: Leaving directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/convnet/build-v234ce-gnu-linux-o'

convnet.elf | 4 kB | 4.0 kB/s | ETA: 00:05:21 | 0%
convnet.elf | 1288 kB | 1288.5 kB/s | ETA: 00:00:00 | 100%

libarm_compute.so | 4 kB | 4.0 kB/s | ETA: 00:04:21 | 0%
libarm_compute.so | 1050 kB | 1050.0 kB/s | ETA: 00:00:00 | 100%

libarm_compute_core.so | 4 kB | 4.0 kB/s | ETA: 00:23:04 | 0%
libarm_compute_core.so | 5540 kB | 5540.8 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv1_w | 4 kB | 4.0 kB/s | ETA: 00:00:33 | 2%
cnn_CnnMain_conv1_w | 136 kB | 136.1 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2_w | 4 kB | 4.0 kB/s | ETA: 00:04:59 | 0%
cnn_CnnMain_conv2_w | 120 kB | 120.0 kB/s | ETA: 00:00:09 | 10%
cnn_CnnMain_conv2_w | 1200 kB | 1200.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv3_w | 4 kB | 4.0 kB/s | ETA: 00:14:23 | 0%
cnn_CnnMain_conv3_w | 3456 kB | 3456.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv4_w | 4 kB | 4.0 kB/s | ETA: 00:10:47 | 0%
cnn_CnnMain_conv4_w | 2592 kB | 2592.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv5_w | 4 kB | 4.0 kB/s | ETA: 00:07:11 | 0%
cnn_CnnMain_conv5_w | 1728 kB | 1728.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_fc6_w | 4 kB | 4.0 kB/s | ETA: 10:14:23 | 0%
cnn_CnnMain_fc6_w | 2156 kB | 2156.0 kB/s | ETA: 00:01:07 | 1%
cnn_CnnMain_fc6_w | 14060 kB | 7030.0 kB/s | ETA: 00:00:18 | 9%
cnn_CnnMain_fc6_w | 25464 kB | 8488.0 kB/s | ETA: 00:00:14 | 17%
cnn_CnnMain_fc6_w | 36868 kB | 9217.0 kB/s | ETA: 00:00:11 | 25%
cnn_CnnMain_fc6_w | 48276 kB | 9655.2 kB/s | ETA: 00:00:10 | 32%
cnn_CnnMain_fc6_w | 59688 kB | 9948.0 kB/s | ETA: 00:00:08 | 40%
cnn_CnnMain_fc6_w | 71096 kB | 10156.6 kB/s | ETA: 00:00:07 | 48%
cnn_CnnMain_fc6_w | 82508 kB | 10313.5 kB/s | ETA: 00:00:06 | 55%
cnn_CnnMain_fc6_w | 93912 kB | 10434.7 kB/s | ETA: 00:00:05 | 63%
cnn_CnnMain_fc6_w | 105324 kB | 10532.4 kB/s | ETA: 00:00:04 | 71%
cnn_CnnMain_fc6_w | 116732 kB | 10612.0 kB/s | ETA: 00:00:02 | 79%
cnn_CnnMain_fc6_w | 128144 kB | 10678.7 kB/s | ETA: 00:00:01 | 86%
cnn_CnnMain_fc6_w | 139552 kB | 10734.8 kB/s | ETA: 00:00:00 | 94%
cnn_CnnMain_fc6_w | 147456 kB | 11342.8 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_fc7_w | 4 kB | 4.0 kB/s | ETA: 04:33:03 | 0%
cnn_CnnMain_fc7_w | 8196 kB | 8196.0 kB/s | ETA: 00:00:06 | 12%
cnn_CnnMain_fc7_w | 19576 kB | 9788.0 kB/s | ETA: 00:00:04 | 29%
cnn_CnnMain_fc7_w | 30952 kB | 10317.3 kB/s | ETA: 00:00:03 | 47%
cnn_CnnMain_fc7_w | 42332 kB | 10583.0 kB/s | ETA: 00:00:02 | 64%
cnn_CnnMain_fc7_w | 53712 kB | 10742.4 kB/s | ETA: 00:00:01 | 81%
cnn_CnnMain_fc7_w | 65092 kB | 10848.7 kB/s | ETA: 00:00:00 | 99%
cnn_CnnMain_fc7_w | 65536 kB | 10922.7 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_fc8_w | 4 kB | 4.0 kB/s | ETA: 01:06:39 | 0%
cnn_CnnMain_fc8_w | 6024 kB | 6024.0 kB/s | ETA: 00:00:01 | 37%
cnn_CnnMain_fc8_w | 13444 kB | 1680.5 kB/s | ETA: 00:00:01 | 84%
cnn_CnnMain_fc8_w | 16000 kB | 2000.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv1_b | 0 kB | 0.4 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2_b | 1 kB | 1.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv3_b | 1 kB | 1.5 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv4_b | 1 kB | 1.5 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv5_b | 1 kB | 1.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_fc6_b | 4 kB | 4.0 kB/s | ETA: 00:00:03 | 25%
cnn_CnnMain_fc6_b | 16 kB | 16.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_fc7_b | 4 kB | 4.0 kB/s | ETA: 00:00:03 | 25%
cnn_CnnMain_fc7_b | 16 kB | 16.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_fc8_b | 3 kB | 3.9 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_data_offset | 4 kB | 4.0 kB/s | ETA: 00:02:29 | 0%
cnn_CnnMain_data_offset | 408 kB | 408.0 kB/s | ETA: 00:00:00 | 67%
cnn_CnnMain_data_offset | 603 kB | 603.9 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_data_scale | 4 kB | 4.0 kB/s | ETA: 00:02:29 | 0%
cnn_CnnMain_data_scale | 603 kB | 603.9 kB/s | ETA: 00:00:00 | 100%

input_faces.jpg | 4 kB | 4.0 kB/s | ETA: 00:02:34 | 0%
input_faces.jpg | 623 kB | 623.7 kB/s | ETA: 00:00:00 | 100%
Deploying convnet.elf on 192.168.1.235 ...
*** Error in `./convnet.elf': free(): invalid pointer: 0x0000000008860ea8 ***
Cleaning up, please wait ...

18 返答(返信)

12,204件の閲覧回数
fhuber783
Contributor II

Hi nxf40536,

Thanks for your quick response, this fixed my problem.

I have a further question:

Iam trying to deploy a CNN I trained in TensorFlow to S32V234SBC, which works as expected when I simulate it in NXPVT in Matlab.

When I try to deploy it everything seems to be running fine until I encounter the following error:

...

cnn_CnnMain_conv2d_5_b | 0 kB | 0.3 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_6_b | 0 kB | 0.5 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_dense_1_b | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%
codegen\cnn_CnnMain_data_offset: No such file or directory
codegen\cnn_CnnMain_data_scale: No such file or directory

The CNN is similiar to AlexNet and the output is a vector of 17 numeric values, so there are no class labels. Do you think this might be the issue?

Do I need to copy the mat-file containing network structure and weights via Config.ExtraFiles or is it enough if I use config.CnnMatFile = Absolute_Path_to_Mat_File;

I also used MATLABs importKerasNetwork command to import my model to MATLAB and saved it with the save command instead of nxpvt.save_cnn_to_file (simulation of my network runs fine however, so I don't know if this is the issue).

Best regards,

Franz

The full command window output is:

>> CNN_deploy
FFmpeg library already installed
Generating code for ARM
------------------------------------------------------------------------
Compilation suppressed: generating code only.
------------------------------------------------------------------------
### Codegen Successfully Generated for arm device
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWFlattenCStyleLayer.o" "MWFlattenCStyleLayer.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWFusedConvReLULayer.o" "MWFusedConvReLULayer.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "cnn_api.o" "cnn_api.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWCNNLayerImpl.o" "MWCNNLayerImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWFlattenCStyleLayerImpl.o" "MWFlattenCStyleLayerImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWFusedConvReLULayerImpl.o" "MWFusedConvReLULayerImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "MWTargetNetworkImpl.o" "MWTargetNetworkImpl.cpp"
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-c++.exe -c -fwrapv -fPIC -O3 -fno-loop-optimize -fno-aggressive-loop-optimizations -std=c++11 -DUSE_18_05_LIBRARY -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -DMODEL=cnnbuild -DHAVESTDIO -DUSE_RTMODEL -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute -IC:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/internals/lib/arm_compute/include -I. -IC:/Users/Franz/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/NXP_VI~1 -I./extern/include -I./simulink/include -I./rtw/c/src -I./rtw/c/src/ext_mode/common -I./rtw/c/ert -o "cnn_exec.o" "cnn_exec.cpp"
### Creating static library ./cnnbuild.a ...
C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin/aarch64-linux-gnu-ar.exe ruvs ./cnnbuild.a MWFlattenCStyleLayer.o MWFusedConvReLULayer.o cnn_api.o MWCNNLayerImpl.o MWFlattenCStyleLayerImpl.o MWFusedConvReLULayerImpl.o MWTargetNetworkImpl.o cnn_exec.o
a - MWFlattenCStyleLayer.o
a - MWFusedConvReLULayer.o
a - cnn_api.o
a - MWCNNLayerImpl.o
a - MWFlattenCStyleLayerImpl.o
a - MWFusedConvReLULayerImpl.o
a - MWTargetNetworkImpl.o
a - cnn_exec.o
C:\NXP\VisionSDK_S32V2_RTM_1_4_0\compilers\gcc-6.3.1-linaro-Xarmv8-linux\i686-mingw32\bin\aarch64-linux-gnu-ar.exe: creating ./cnnbuild.a
### Created: ./cnnbuild.a
### Successfully generated all binary outputs.
### Using toolchain: S32DS Vision GCC
### Creating 'C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\CNN_main\CNN_main_rtw.mk' ...

C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\CNN_main>SET PATH=C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Program Files\MATLAB\R2019b\bin\win64;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\oal;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\opencv;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\target;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\Program Files\PuTTY\;C:\Program Files\MATLAB\R2019b\runtime\win64;C:\Program Files\MATLAB\R2019b\bin;C:\Users\Franz\AppData\Local\Microsoft\WindowsApps

C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\CNN_main>SET PATH=C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Program Files\MATLAB\R2019b\bin\win64;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\oal;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\opencv;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\target;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\Program Files\PuTTY\;C:\Program Files\MATLAB\R2019b\runtime\win64;C:\Program Files\MATLAB\R2019b\bin;C:\Users\Franz\AppData\Local\Microsoft\WindowsApps

C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\codegen\exe\CNN_main>SET PATH=C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Program Files\MATLAB\R2019b\bin\win64;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw64/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/usr/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../msys32/mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;C:/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\oal;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\lib\opencv;C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_Vision_Toolbox_for_S32V234\internals\target;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\Program Files\PuTTY\;C:\Program Files\MATLAB\R2019b\runtime\win64;C:\Program Files\MATLAB\R2019b\bin;C:\Users\Franz\AppData\Local\Microsoft\WindowsApps
Current SDK ROOT is /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk
make[1]: Entering directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/CNN_main/build-v234ce-gnu-linux-o'
You use pre-built vsdk system libraries. You need to set PRE_BUILT_SYSTEM_LIBS=0 if you change the vsdk source code.
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o'
make[-]: skipping directory /c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen
make[2]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Nothing to be done for 'apu_graphs'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Nothing to be done for 'apu_graphs_link'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[3]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[4]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[6]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[7]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[6]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/kernels/apu/apexcv_pro_resize/build-apu-nxp-sa-d'
make[6]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Nothing to be done for 'apu_graphs'.
make[7]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[7]: Nothing to be done for 'apu_graphs_link'.
make[7]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[6]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/graphs/build-apu-nxp-sa-d'
make[5]: Entering directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[4]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[3]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o'
make[2]: Entering directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/CNN_main/build-v234ce-gnu-linux-o'
make[3]: Entering directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/CNN_main/build-v234ce-gnu-linux-o'
.C0_headdep.mk: updating CNN_main_emxutil-cpp.C0.d
.C0_headdep.mk: updating main-cpp.C0.d
.C0_headdep.mk: updating imread-cpp.C0.d
.C0_headdep.mk: updating CNN_main-cpp.C0.d
.C0_headdep.mk: updating CNN_main_terminate-cpp.C0.d
.C0_headdep.mk: updating CNN_main_initialize-cpp.C0.d
.C0_headdep.mk: updating CNN_main_data-cpp.C0.d
.C0_headdep.mk: updating nxpvt_cnn-cpp.C0.d
.C0_headdep.mk: updating nxpvt_cnn_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_apexcv_resize_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_utils-cpp.C0.d
.C0_headdep.mk: updating nxpvt_imshow_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_imread_w-cpp.C0.d
.C0_headdep.mk: updating nxpvt_umat_w-cpp.C0.d
arm64/gnu/optimized CX nxpvt_umat_w-cpp.o
arm64/gnu/optimized CX nxpvt_imread_w-cpp.o
arm64/gnu/optimized CX nxpvt_imshow_w-cpp.o
arm64/gnu/optimized CX nxpvt_utils-cpp.o
arm64/gnu/optimized CX nxpvt_apexcv_resize_w-cpp.o
arm64/gnu/optimized CX nxpvt_cnn_w-cpp.o
arm64/gnu/optimized CX nxpvt_cnn-cpp.o
arm64/gnu/optimized CX CNN_main_data-cpp.o
arm64/gnu/optimized CX CNN_main_initialize-cpp.o
arm64/gnu/optimized CX CNN_main_terminate-cpp.o
arm64/gnu/optimized CX CNN_main-cpp.o
arm64/gnu/optimized CX imread-cpp.o
arm64/gnu/optimized CX main-cpp.o
arm64/gnu/optimized CX CNN_main_emxutil-cpp.o
arm64/gnu/optimized LD CNN_main.elf <= nxpvt_umat_w-cpp.o nxpvt_imread_w-cpp.o nxpvt_imshow_w-cpp.o nxpvt_utils-cpp.o nxpvt_apexcv_resize_w-cpp.o nxpvt_cnn_w-cpp.o nxpvt_cnn-cpp.o CNN_main_data-cpp.o CNN_main_initialize-cpp.o CNN_main_terminate-cpp.o CNN_main-cpp.o imread-cpp.o main-cpp.o CNN_main_emxutil-cpp.o /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/acf/build-v234ce-gnu-linux-o/libacf.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/drivers/user/build-v234ce-gnu-linux-o/libapexdrv.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apex/icp/build-v234ce-gnu-linux-o/libicp.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o/apexcv_common.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/common/build-v234ce-gnu-linux-o/libcommon.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/communications/build-v234ce-gnu-linux-o/lib_communications.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/log/build-v234ce-gnu-linux-o/liblog.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/sumat/build-v234ce-gnu-linux-o/libsumat.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/utils/umat/build-v234ce-gnu-linux-o/libumat.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/io/frame_io/build-v234ce-gnu-linux-o/libframe_io.a C:/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/cnnbuild.a /c/NXP/VisionSDK_S32V2_RTM_1_4_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o/apexcv_pro_resize.a
------------------------------------------------------------
make[3]: Leaving directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/CNN_main/build-v234ce-gnu-linux-o'
make[2]: Leaving directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/CNN_main/build-v234ce-gnu-linux-o'
make[1]: Leaving directory '/c/Users/Franz/AppData/Roaming/MathWorks/MATLAB_Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/CNN_main/build-v234ce-gnu-linux-o'

CNN_main.elf | 4 kB | 4.0 kB/s | ETA: 00:04:08 | 0%
CNN_main.elf | 996 kB | 996.5 kB/s | ETA: 00:00:00 | 100%

libarm_compute.so | 4 kB | 4.0 kB/s | ETA: 00:03:58 | 0%
libarm_compute.so | 957 kB | 957.2 kB/s | ETA: 00:00:00 | 100%

libarm_compute_core.so | 4 kB | 4.0 kB/s | ETA: 00:21:53 | 0%
libarm_compute_core.so | 4928 kB | 4928.0 kB/s | ETA: 00:00:00 | 93%
libarm_compute_core.so | 5256 kB | 5256.2 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_1_w | 1 kB | 1.7 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_2_w | 4 kB | 4.0 kB/s | ETA: 00:00:03 | 22%
cnn_CnnMain_conv2d_2_w | 18 kB | 18.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_3_w | 4 kB | 4.0 kB/s | ETA: 00:00:08 | 11%
cnn_CnnMain_conv2d_3_w | 36 kB | 36.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_4_w | 4 kB | 4.0 kB/s | ETA: 00:00:08 | 11%
cnn_CnnMain_conv2d_4_w | 36 kB | 36.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_5_w | 4 kB | 4.0 kB/s | ETA: 00:00:17 | 5%
cnn_CnnMain_conv2d_5_w | 72 kB | 72.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_6_w | 4 kB | 4.0 kB/s | ETA: 00:01:11 | 1%
cnn_CnnMain_conv2d_6_w | 288 kB | 288.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_dense_1_w | 4 kB | 4.0 kB/s | ETA: 00:04:52 | 0%
cnn_CnnMain_dense_1_w | 1173 kB | 1173.0 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_1_b | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_2_b | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_3_b | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_4_b | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_5_b | 0 kB | 0.3 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_conv2d_6_b | 0 kB | 0.5 kB/s | ETA: 00:00:00 | 100%

cnn_CnnMain_dense_1_b | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%
codegen\cnn_CnnMain_data_offset: No such file or directory

codegen\cnn_CnnMain_data_scale: No such file or directory

00120.jpg | 4 kB | 4.0 kB/s | ETA: 00:01:05 | 1%
00120.jpg | 266 kB | 266.8 kB/s | ETA: 00:00:00 | 100%
Deploying CNN_main_ownscript.elf on 192.168.1.235 ...
Cleaning up, please wait ...

12,209件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com‌,

   

We haven't really added support for TensorFlow models at this moment, but you could try to copy all the files in the codegen folder to the board manually and try to run the elf from there. It looks like it's having problems copying the cnn_CnnMain_data_offset/scale files to the board. You can then trye to run the elf directly from a PuTTy connection. If you need any help, please let me know.

Thank you,

Vlad Dascau

0 件の賞賛
返信

12,209件の閲覧回数
fhuber783
Contributor II

Hi nxf40536,

The codegen folder does not contain cnn_CnnMain_data_offset and cnn_CnnMain_data_scale, so it would probably not run if I copy the CNN to the board without it. What is in those two files anyway? 

Maybe there was a misunderstanding: the network I am using was trained in TensorFlow saved in h5-format, which MATLAB can import and converted to a MATLAB class of type SeriesNetwork. I can also use nxpvt.CNN to perform inference with nxpvt and my network on Windows10 within MATLAB.

 

This is an example of the code that is working within MATLAB, myFile.mat contains a MATLAB SeriesNetwork:

function nxpvt_single_image() %#codegen
   % Create CNN object from alexnet.mat with the trained images size 227x227
   regression_Net = nxpvt.CNN('myFile.mat', 148, 410);
   y_coords=510:-10:350;
   % Read image for CNN regression
   inImg =    nxpvt.imread('C:\Users\Franz\AppData\Roaming\MathWorks\MATLAB_Add-   Ons\Toolboxes\NXP_Vision_Toolbox_for   _S32V234\CNN\data\00120.jpg');
   % Get the prediction data
   x_coords=regression_Net.predict(inImg);
   x_coords=x_coords';
   y_coords=y_coords';
   line_coords=[x_coords(1:end-1,:),y_coords(1:end-1,:),x_coords(2:end),y_coords(2:end)];
   % Plot the image 
   nxpvt.imshow(nxpvt.cv.insertLines(inImg,line_coords))
end

Thanks and best regards,

Franz

12,207件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com,

Some of the layers and nodes defined in a tensorflow/keras model may not be yet supported by MATLAB for code generation, but may work in simulation. The files inside the codegen folder are usually binary files containing weights, biases and the actual Layers implementation in C++ that get linked with some ARM Compute library for tensors and other definitions. I'm not necessarily saying that this is the case here, but it might be a limitation from MATLAB. Can you try doing the same on a Matlab R2019a ? Mathworks has changed the code generation APIs and framework in the last 3 releases, so it might be worth a try. Please let me know how it went.


Thank you,

Vlad Dascau

0 件の賞賛
返信

12,211件の閲覧回数
fhuber783
Contributor II

Hi nxf40536,

Just to be clear: you want me to downgrade from the most current version (2019b) to 2019a?

I checked if I am using any layers that were not supported by MATLAB code generation before I started training my network with TensorFlow on the Mathworks site (Networks and Layers Supported for C++ Code Generation- MATLAB & Simulink- MathWorks Deutschland). All layers I am using are supposedly supported for Code Generation with the ARM Compute Library. I am mostly using layers which are also part of AlexNet (imageInputLayerconvolution2dLayer, batchNormalizationLayer, reLULayer, maxPooling2dLayerdropoutLayerfullyConnectedLayer, nnet.keras.layer.FlattenCStyleLayer, regressionLayer).

Do you know if Code Generation with the NXPVT also supports regression output for CNNs? Or does this solely depend on what the MATLAB Coder supports?

Thanks and best regards,

Franz

12,211件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com‌,

The toolbox should support whatever layers are supported by MATLAB for code generation. I suggested using an older version because these generated files are different for R2018b, R2019a and R2019b and this might be a workaround. Nevertheless, if you wish, you can send us the .mat file (maybe also the saved keras model) and we will try to figure it out ourselves or ping someone at MathWorks for help.

Thank you,

Vlad Dascau

12,211件の閲覧回数
fhuber783
Contributor II

Hi nxf40536,

That sounds like a good idea. Where should I send the files?

Thanks a lot and best regards,

Franz

12,211件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com

I think you can safely attach it here. Otherwise you can just drop me an email at vladalexandru.dascau@nxp.com and I will try to test it and ping MathWorks if there's anything beyond our reach. 

Thank you,

Vlad Dascau

0 件の賞賛
返信

12,211件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com‌,

We are actively working on adding support for regression cases following your email. In the next couple of days, we will provide a patch for the toolbox containing regression support and we will go from there to see if there are any other issues with your particular case. 

Thank you,

Vlad Dascau

12,211件の閲覧回数
fhuber783
Contributor II

Hi nxf40536,

I really appreciate that! Thank you very much for the great support!

Best regards,

Franz Huber

12,211件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi,

I have added a patch that should cater to your problem. All you need to do is run the archive (password is 'nxp') in the root of the toolbox:

pastedImage_1.png

and overwrite the files it prompts you. Then you should be good to go. If you encounter any issues, please let us know.

Thank you,

Vlad Dascau

0 件の賞賛
返信

12,211件の閲覧回数
fhuber783
Contributor II

Hi nxf40536,

I just patched the toolbox, but I think this broke some of the functionality of nxpvt.CNN. I am using it as per the convention "nxpvt.CNN(cnnMatFile, inputHeight, inputWidth)", but I get the following error (which I did not get before the patch):

Error using nxpvt.CNN
Too many input arguments.

Best regards,

Franz Huber

12,212件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi,

Sorry, I forgot to mention we've changed the API so you are no longer required to specify the inputsize because you already have that in your network. Can you try without any input size parameters ? 

Thank you,

Vlad Dascau

0 件の賞賛
返信

12,212件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com,

Also, the resolution of the input image should not exceed 720x1280.  We have attached a working version of your script and the run command we used to test it. Again, the password is 'nxp'.

Thank you,

Vlad Dascau

12,212件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com‌,

Were you able to run the script and get the outcome that you were hoping for ? Let us know if you have any other problems/questions.

Thank you,

Vlad Dascau

0 件の賞賛
返信

12,210件の閲覧回数
fhuber783
Contributor II

Hi nxf40536,

I was able to run the script and everything works as expected now. Thanks for the great support and sorry for the late reply! (I was pretty busy in the last few weeks).

Is the network saved as an *.elf, which can be run standalone after deployment on the microcrontroller?

Best regards,

Franz

12,214件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com,

Thanks for the feedback. Yes, you should be able to run the elf standalone as long as you also have the additional binary files that represent the weights, the biases and the arm_compute .so's in the same place as the  .elf file. You should also have the LD_LIBRARY_PATH env variable set to point to the location of the .so's. In short you could just set that variable when running the elf using the command: LD_LIBRARY_PATH=. ./name_of_the_elf.elf . 

Thank you,

Vlad Dascau

0 件の賞賛
返信

12,213件の閲覧回数
nxf40536
NXP Employee
NXP Employee

Hi fhuber783@gmail.com‌,

This is a known bug for the 18.05 ARM Compute version. To fix this you should set the ARM_COMPUTE variable to be empty and this way the toolbox will use the bundled ARM Compute library version.

pastedImage_3.png

If you encounter any other problems, please let us know.

Thank you,

Vlad Dascau