AnsweredAssumed Answered

The error of MATLAB s32v234 evaluation board simulation

Question asked by li lei on Dec 4, 2019
Latest reply on Dec 6, 2019 by Melutu Iulian Bulancea

Hi,

When I use matlab s32v234 evaluation board to simulate face detection, the following problems occur:

 

make[1]: Leaving directory '/g/Matlab2018file/codegen/exe/face_detection/build-v234ce-gnu-linux-o'
make: *** [/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/platforms/coordinator.mk:57: allsub] Error 2

 

Who can help me, thank you

 

 

The log information is as follows:

run_application
FFmpeg library already installed
### Using toolchain: S32DS Vision GCC
### Creating 'G:\Matlab2018file\codegen\exe\face_detection\face_detection_rtw.mk' ...
Warning: coder.wref() is treated as coder.ref() when applied on a variable-sized array or a structure with variable-sized fields.

Warning in ==> UMat_int32 Line: 97 Column: 75
Code generation successful (with warnings): View report
警告: 目录已存在。
> In nxpvt_build
In nxpvt_make
In nxpvt_codegen
In nxpvt_runner/Run (line 63)
In run_application (line 7)

G:\Matlab2018file\codegen\exe\face_detection>SET PATH=G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;G:\Matlab2018a\bin\win64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;G:\OpenCV\opencv\build\x64\vc14\bin;C:\WINDOWS\System32\OpenSSH\;G:\vscode\Microsoft VS Code\bin;G:\OpenCV\mybuild\install\bin;G:\Cmake\bin;G:\ffmpeg\bin;G:\OpenCV\mybuild\3rdparty\ffmpeg;G:\OpenCV\opencv\sources\3rdparty\ffmpeg;G:\Python;C:\Users\rayle\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\bin\x64;G:\Matlab2018a\runtime\win64;G:\Matlab2018a\bin;G:\Matlab\runtime\win64;G:\Matlab\bin;G:\Matlab\polyspace\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;G:\MinGW\bin;E:\PuTTY\;E:\Git\cmd;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;E:\AOMEI Backupper;C:\Users\rayle\AppData\Local\Microsoft\WindowsApps;

G:\Matlab2018file\codegen\exe\face_detection>SET PATH=G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv8-eabi/i686-mingw32/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;G:\Matlab2018a\bin\win64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;G:\OpenCV\opencv\build\x64\vc14\bin;C:\WINDOWS\System32\OpenSSH\;G:\vscode\Microsoft VS Code\bin;G:\OpenCV\mybuild\install\bin;G:\Cmake\bin;G:\ffmpeg\bin;G:\OpenCV\mybuild\3rdparty\ffmpeg;G:\OpenCV\opencv\sources\3rdparty\ffmpeg;G:\Python;C:\Users\rayle\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\bin\x64;G:\Matlab2018a\runtime\win64;G:\Matlab2018a\bin;G:\Matlab\runtime\win64;G:\Matlab\bin;G:\Matlab\polyspace\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;G:\MinGW\bin;E:\PuTTY\;E:\Git\cmd;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;E:\AOMEI Backupper;C:\Users\rayle\AppData\Local\Microsoft\WindowsApps;

G:\Matlab2018file\codegen\exe\face_detection>SET PATH=G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv8-eabi/i686-mingw32/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;G:\Matlab2018a\bin\win64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;G:\OpenCV\opencv\build\x64\vc14\bin;C:\WINDOWS\System32\OpenSSH\;G:\vscode\Microsoft VS Code\bin;G:\OpenCV\mybuild\install\bin;G:\Cmake\bin;G:\ffmpeg\bin;G:\OpenCV\mybuild\3rdparty\ffmpeg;G:\OpenCV\opencv\sources\3rdparty\ffmpeg;G:\Python;C:\Users\rayle\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\bin\x64;G:\Matlab2018a\runtime\win64;G:\Matlab2018a\bin;G:\Matlab\runtime\win64;G:\Matlab\bin;G:\Matlab\polyspace\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;G:\MinGW\bin;E:\PuTTY\;E:\Git\cmd;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;E:\AOMEI Backupper;C:\Users\rayle\AppData\Local\Microsoft\WindowsApps;

G:\Matlab2018file\codegen\exe\face_detection>SET PATH=G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../msys32/mingw32/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../msys32/usr/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../msys32/mingw64/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-mingw32/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv8-eabi/i686-mingw32/bin;G:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/../compilers/gcc-6.3.1-linaro-Earmv7-eabi/i686-mingw32/bin;G:\Matlab2018a\bin\win64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;G:\OpenCV\opencv\build\x64\vc14\bin;C:\WINDOWS\System32\OpenSSH\;G:\vscode\Microsoft VS Code\bin;G:\OpenCV\mybuild\install\bin;G:\Cmake\bin;G:\ffmpeg\bin;G:\OpenCV\mybuild\3rdparty\ffmpeg;G:\OpenCV\opencv\sources\3rdparty\ffmpeg;G:\Python;C:\Users\rayle\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\bin\x64;G:\Matlab2018a\runtime\win64;G:\Matlab2018a\bin;G:\Matlab\runtime\win64;G:\Matlab\bin;G:\Matlab\polyspace\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;G:\MinGW\bin;E:\PuTTY\;E:\Git\cmd;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;E:\AOMEI Backupper;C:\Users\rayle\AppData\Local\Microsoft\WindowsApps;
Current SDK ROOT is /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk
make[1]: Entering directory '/g/Matlab2018file/codegen/exe/face_detection/build-v234ce-gnu-linux-o'
/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:73: sub.mk: SUB_DIR /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_base/apexcv_common/include is missing
/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:73: sub.mk: SUB_DIR G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234\(2\)/code//internals/include/s32v is missing
/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:73: sub.mk: SUB_DIR G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234\(2\)/code//internals/libs/object_detection/include is missing
/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:73: SUB_MAKE /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o/ is missing
/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:73: SUB_MAKE G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234\(2\)/code//internals/libs/object_detection/build-v234ce-gnu-linux-o/ is missing
/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:73: SUB_MAKE /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o/ is missing
/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:73: *** You can find the missing directory/directories here: /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_base/apexcv_common/include G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234\(2\)/code//internals/include/s32v G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234\(2\)/code//internals/libs/object_detection/include /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o/ G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234\(2\)/code//internals/libs/object_detection/build-v234ce-gnu-linux-o/ /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o/ [/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_base/apexcv_common/include G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/(2/)/code/internals/include/s32v G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/(2/)/code/internals/libs/object_detection/include /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_base/apexcv_common/build-v234ce-gnu-linux-o G:/Matlab2018file/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/(2/)/code/internals/libs/object_detection/build-v234ce-gnu-linux-o /g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/libs/apexcv_pro/resize/apu-nxp/build-v234ce-gnu-linux-o]. Stop.
make[1]: Leaving directory '/g/Matlab2018file/codegen/exe/face_detection/build-v234ce-gnu-linux-o'
make: *** [/g/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/platforms/coordinator.mk:57: allsub] Error 2
警告: Cannot deploy on target. Compilation failed..
> In nxpvt_codegen
In nxpvt_runner/Run (line 63)
In run_application (line 7)
>> run_application

Outcomes