Hello everyone, I have already been able to configure the Matlab environment with the NXP.
But at the time I try to load the program "face_detection_camera_main" to the Board, I get the following error.
"C: \\ Users \\ waclab \\ AppData \\ Roaming \\ MathWorks \\ MATLAB" is not recognized as an internal or external command, program or batch file executable.
I have already tried adding the Path (as shown in the image) but in spite of that it does not work.
If you could help me, it would be very useful.
This is a something new.
Could you give me the BUILD.bat file from C:\Users\waclab\Documents\MATLAB\examples\apps\face_detection\codegen\exe\face_detection_camera_main\ ?
Also I want to see the contents of:
C:\\NXP\VisionSDK_S32V2_RTM_1_2_0_HF1\compilers\gcc-6.3.1-linaro-Earmv7-eabi\i686-mingw32\bin
C:\NXP\VisionSDK_S32V2_RTM_1_2_0_HF1\compilers\gcc-6.3.1-linaro-Earmv8-eabi\i686-mingw32\bin
C:\\NXP\VisionSDK_S32V2_RTM_1_2_0_HF1\compilers\gcc-6.3.1-linaro-Xarmv8-linux\i686-mingw32\bin
The compilers files look fine.
I want you to post a message with BUILD.mk file attached to that meesage. Or paste the content of the file.
Use the advance editor when you write the message to attach a file to the message.
I think you still have the previous version of NXP Vision Toolbox installed.
Could you run ver in Matlab command line?
It should show:
NXP Vision Toolbox for S32V234 Version 2.0.0 (R2018a/b)
You have the old version of toolbox installed. Please uninstall it from Matlab and install the latest one, NXP_Vision_Toolbox_S32V234_2018.R1.RFP_20181119.mltbx, from https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fs...
The ver should show only one NXP_Vision_Toolbox_S32V234_2018.R1.RFP_20181119.mltbx, with version 2.0.0.
Your Add-ons Installation Folder path contains spaces. Please follow the instructions from this link
https://community.nxp.com/thread/488801?commentID=1087772&et=watches.email.thread#comment-1086034 to update the path to one that doesn't contain spaces..
Re-install the toolbox. You have the toolbox previously installed in the path with spaces. After you changes the installation path for add-ons, you need to reinstall the toolbox.
You are very close to build the examples.
make[3]: Leaving directory '/c/Users/waclab/AppData/Roaming/MathWorks/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/face_detection_camera_main/codegen/exe/face_detection_camera_main/build-v234ce-gnu-linux-o'
make[2]: *** [/c/NXP/VisionSDK_S32V2_RTM_1_2_0_HF1/s32v234_sdk/build/nbuild/platforms/coordinator.mk:57: all] Error 2
make[2]: Leaving directory '/c/Users/waclab/AppData/Roaming/MathWorks/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/face_detection_camera_main/codegen/exe/face_detection_camera_main/build-v234ce-gnu-linux-o'
make[1]: *** [/c/NXP/VisionSDK_S32V2_RTM_1_2_0_HF1/s32v234_sdk/build/nbuild/sub.mk:74: allsub] Terminated
make[1]: Leaving directory '/c/Users/waclab/AppData/Roaming/MathWorks/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/codegen/exe/face_detection_camera_main/codegen/exe/face_detection_camera_main/build-v234ce-gnu-linux-o'
make: *** [/c/NXP/VisionSDK_S32V2_RTM_1_2_0_HF1/s32v234_sdk/build/nbuild/platforms/coordinator.mk:57: allsub] Error 2
Warning: Cannot deploy on target. Compilation failed..
> In nxpvt_codegen
I think i know what the problem is.
There are 2 libstdc++-6.dll files on you PC:
When you install MATLAB this is going to place the libstdc++-6.dll in the “C:\Windows\SysWOW64\” folder and is going to use it as default but this will fail to build the files from the VisionSDK.
For the moment, please go to C:\Windows\SysWOW64\ and rename the libstdc++-6.dll into something else, or delete it.
After that, the build process of all VisionSDK dependencies should be ok.
Please let me know if its working.
Best regards,
Daniel