NXP Model-Based Design Tools for VISION Compilation Error in MATLAB

cancel
Showing results for 
Search instead for 
Did you mean: 

NXP Model-Based Design Tools for VISION Compilation Error in MATLAB

501 Views
Contributor II

Hi guys,

I have encountered this problem in compilation of the NXP Vision Toolbox, the visionsdk version is rtm 1.3.0. Anyone got idea? As I can notice that the path of the nxpvt_apexcv_peopledetector.cpp is "C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src", why is there extra "/" between code and internals? From my matlab R2018a, I do not see that extra "/" in the set path in matlab R2018a.

.C0_headdep.mk: updating disparitySGBMCore-cpp.C0.d
.C0_headdep.mk: updating disparityBMCore-cpp.C0.d
.C0_headdep.mk: updating detectMserCore-cpp.C0.d
.C0_headdep.mk: updating detectKAZECore-cpp.C0.d
.C0_headdep.mk: updating detectFASTCore-cpp.C0.d
.C0_headdep.mk: updating detectBRISKCore-cpp.C0.d
.C0_headdep.mk: updating cgCommon-cpp.C0.d
.C0_headdep.mk: updating agast_score_mw-cpp.C0.d
.C0_headdep.mk: updating HOGDescriptorCore-cpp.C0.d
.C0_headdep.mk: updating CascadeClassifierCore-cpp.C0.d
  arm64/gnu/optimized CX CascadeClassifierCore-cpp.o
  arm64/gnu/optimized CX HOGDescriptorCore-cpp.o
  arm64/gnu/optimized CX agast_score_mw-cpp.o
  arm64/gnu/optimized CX cgCommon-cpp.o
  arm64/gnu/optimized CX detectBRISKCore-cpp.o
  arm64/gnu/optimized CX detectFASTCore-cpp.o
  arm64/gnu/optimized CX detectKAZECore-cpp.o
  arm64/gnu/optimized CX detectMserCore-cpp.o
In file included from ../detectKAZECore.cpp:14:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp: In instantiation of 'void copyToMatBGR_RowMaj(ImageDataType*, ImageDataType*, int, int, int) [with ImageDataType = unsigned char]':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:270:41:   required from 'void cArrayToMat_RowMaj(const ImageDataType*, int, int, bool, cv::Mat&) [with ImageDataType = unsigned char]'
../detectKAZECore.cpp:34:73:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:93:103: warning: unused parameter 'channels' [-Wunused-parameter]
 void copyToMatBGR_RowMaj(ImageDataType *src, ImageDataType *dst, int numRowsInBlock, int numCols, int channels)// remove channels from here
                                                                                                       ^~~~~~~~
In file included from ../detectFASTCore.cpp:14:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp: In instantiation of 'void copyToMatBGR_RowMaj(ImageDataType*, ImageDataType*, int, int, int) [with ImageDataType = unsigned char]':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:270:41:   required from 'void cArrayToMat_RowMaj(const ImageDataType*, int, int, bool, cv::Mat&) [with ImageDataType = unsigned char]'
../detectFASTCore.cpp:86:67:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:93:103: warning: unused parameter 'channels' [-Wunused-parameter]
 void copyToMatBGR_RowMaj(ImageDataType *src, ImageDataType *dst, int numRowsInBlock, int numCols, int channels)// remove channels from here
                                                                                                       ^~~~~~~~
In file included from ../HOGDescriptorCore.cpp:15:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp: In instantiation of 'void copyToMatBGR_RowMaj(ImageDataType*, ImageDataType*, int, int, int) [with ImageDataType = unsigned char]':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:270:41:   required from 'void cArrayToMat_RowMaj(const ImageDataType*, int, int, bool, cv::Mat&) [with ImageDataType = unsigned char]'
../HOGDescriptorCore.cpp:74:67:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:93:103: warning: unused parameter 'channels' [-Wunused-parameter]
 void copyToMatBGR_RowMaj(ImageDataType *src, ImageDataType *dst, int numRowsInBlock, int numCols, int channels)// remove channels from here
                                                                                                       ^~~~~~~~
In file included from ../detectBRISKCore.cpp:15:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp: In instantiation of 'void copyToMatBGR_RowMaj(ImageDataType*, ImageDataType*, int, int, int) [with ImageDataType = unsigned char]':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:270:41:   required from 'void cArrayToMat_RowMaj(const ImageDataType*, int, int, bool, cv::Mat&) [with ImageDataType = unsigned char]'
../detectBRISKCore.cpp:97:60:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:93:103: warning: unused parameter 'channels' [-Wunused-parameter]
 void copyToMatBGR_RowMaj(ImageDataType *src, ImageDataType *dst, int numRowsInBlock, int numCols, int channels)// remove channels from here
                                                                                                       ^~~~~~~~
../detectMserCore.cpp: In function 'void regionsToPointsArrayRM(std::vector<std::vector<cv::Point_<int> > >&, int32_T, int32_T*, int32_T*)':
../detectMserCore.cpp:61:66: warning: unused parameter 'numTotalPts' [-Wunused-parameter]
 void regionsToPointsArrayRM(vector< vector<Point> > &in, int32_T numTotalPts,
                                                                  ^~~~~~~~~~~
In file included from ../detectMserCore.cpp:12:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp: In instantiation of 'void copyToMatBGR_RowMaj(ImageDataType*, ImageDataType*, int, int, int) [with ImageDataType = unsigned char]':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:270:41:   required from 'void cArrayToMat_RowMaj(const ImageDataType*, int, int, bool, cv::Mat&) [with ImageDataType = unsigned char]'
../detectMserCore.cpp:162:67:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:93:103: warning: unused parameter 'channels' [-Wunused-parameter]
 void copyToMatBGR_RowMaj(ImageDataType *src, ImageDataType *dst, int numRowsInBlock, int numCols, int channels)// remove channels from here
                                                                                                       ^~~~~~~~
  arm64/gnu/optimized CX disparityBMCore-cpp.o
  arm64/gnu/optimized CX disparitySGBMCore-cpp.o
  arm64/gnu/optimized CX extractBRISKCore-cpp.o
  arm64/gnu/optimized CX extractFreakCore-cpp.o
  arm64/gnu/optimized CX extractKAZECore-cpp.o
  arm64/gnu/optimized CX extractSurfCore-cpp.o
  arm64/gnu/optimized CX face_detection_camera_main-cpp.o
  arm64/gnu/optimized CX face_detection_camera_main_emxutil-cpp.o
In file included from ../disparityBMCore.cpp:13:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp: In function 'void copyClipAndCastBMRM(int16_T*, real32_T*, mwSize, mwSize, mwSize, mwSize, mwSize, int16_T, mwSize)':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp:183:9: warning: unused parameter 'numInRows' [-Wunused-parameter]
  mwSize numInRows, int16_T invalidValue, mwSize borderWidth)
         ^~~~~~~~~
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp: In instantiation of 'void copyAndPadRM(T*, T*, mwSize, mwSize, mwSize, mwSize, mwSize) [with T = unsigned char; mwSize = long unsigned int]':
../disparityBMCore.cpp:96:79:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp:44:9: warning: unused parameter 'numInRows' [-Wunused-parameter]
  mwSize numInRows)
         ^~~~~~~~~
In file included from ../disparitySGBMCore.cpp:13:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp: In function 'void copyClipAndCastBMRM(int16_T*, real32_T*, mwSize, mwSize, mwSize, mwSize, mwSize, int16_T, mwSize)':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp:183:9: warning: unused parameter 'numInRows' [-Wunused-parameter]
  mwSize numInRows, int16_T invalidValue, mwSize borderWidth)
         ^~~~~~~~~
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp: In instantiation of 'void copyAndPadRM(T*, T*, mwSize, mwSize, mwSize, mwSize, mwSize) [with T = unsigned char; mwSize = long unsigned int]':
../disparitySGBMCore.cpp:103:79:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp:44:9: warning: unused parameter 'numInRows' [-Wunused-parameter]
  mwSize numInRows)
         ^~~~~~~~~
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp: In instantiation of 'void copyAndClipRM(T*, T*, mwSize, mwSize, mwSize, mwSize, mwSize, T, mwSize) [with T = float; mwSize = long unsigned int]':
../disparitySGBMCore.cpp:139:37:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/disparityBM.hpp:112:9: warning: unused parameter 'numInRows' [-Wunused-parameter]
  mwSize numInRows, T invalidValue, mwSize borderWidth)
         ^~~~~~~~~
In file included from ../extractBRISKCore.cpp:14:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp: In instantiation of 'void copyToMatBGR_RowMaj(ImageDataType*, ImageDataType*, int, int, int) [with ImageDataType = unsigned char]':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:270:41:   required from 'void cArrayToMat_RowMaj(const ImageDataType*, int, int, bool, cv::Mat&) [with ImageDataType = unsigned char]'
../extractBRISKCore.cpp:147:60:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:93:103: warning: unused parameter 'channels' [-Wunused-parameter]
 void copyToMatBGR_RowMaj(ImageDataType *src, ImageDataType *dst, int numRowsInBlock, int numCols, int channels)// remove channels from here
                                                                                                       ^~~~~~~~
In file included from ../extractKAZECore.cpp:11:0:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp: In instantiation of 'void copyToMatBGR_RowMaj(ImageDataType*, ImageDataType*, int, int, int) [with ImageDataType = unsigned char]':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:270:41:   required from 'void cArrayToMat_RowMaj(const ImageDataType*, int, int, bool, cv::Mat&) [with ImageDataType = unsigned char]'
../extractKAZECore.cpp:124:73:   required from here
C:/R2018a/toolbox/vision/builtins/src/ocv/include/cgCommon.hpp:93:103: warning: unused parameter 'channels' [-Wunused-parameter]
 void copyToMatBGR_RowMaj(ImageDataType *src, ImageDataType *dst, int numRowsInBlock, int numCols, int channels)// remove channels from here
                                                                                                       ^~~~~~~~
  arm64/gnu/optimized CX face_detection_camera_main_initialize-cpp.o
  arm64/gnu/optimized CX face_detection_camera_main_terminate-cpp.o
  arm64/gnu/optimized CX fastHessianDetectorCore-cpp.o
  arm64/gnu/optimized CX fast_score_mw-cpp.o
  arm64/gnu/optimized CX features2d_init_mw-cpp.o
  arm64/gnu/optimized CX matchFeaturesApproxNNCore-cpp.o
  arm64/gnu/optimized CX mwbrisk-cpp.o
  arm64/gnu/optimized CX mwcascadedetect-cpp.o
  arm64/gnu/optimized CX mwfast-cpp.o
  arm64/gnu/optimized CX mwflann-cpp.o
  arm64/gnu/optimized CX mwfreak-cpp.o
  arm64/gnu/optimized CX mwhaar-cpp.o
  arm64/gnu/optimized CX mwhog-cpp.o
  arm64/gnu/optimized CX mwminiflann-cpp.o
In file included from C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/params.h:33:0,
                 from C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/nn_index.h:39,
                 from C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/index_testing.h:39,
                 from C:/R2018a/toolbox/vision/builtins/src/ocv/include/precomp_flann.hpp:16,
                 from ../mwflann.cpp:29:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/any.h: In member function 'virtual void cvmwflann::anyimpl::big_any_policy<T>::static_delete(void**)':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/any.h:83:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (* x) delete (* reinterpret_cast<T**>(x)); *x = NULL;
         ^~
C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/any.h:83:55: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (* x) delete (* reinterpret_cast<T**>(x)); *x = NULL;
                                                       ^
In file included from C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/params.h:33:0,
                 from C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/nn_index.h:39,
                 from C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/index_testing.h:39,
                 from C:/R2018a/toolbox/vision/builtins/src/ocv/include/precomp_flann.hpp:16,
                 from ../mwminiflann.cpp:1:
C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/any.h: In member function 'virtual void cvmwflann::anyimpl::big_any_policy<T>::static_delete(void**)':
C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/any.h:83:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (* x) delete (* reinterpret_cast<T**>(x)); *x = NULL;
         ^~
C:/R2018a/toolbox/vision/builtins/src/ocv/include/flann/any.h:83:55: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (* x) delete (* reinterpret_cast<T**>(x)); *x = NULL;
                                                       ^
  arm64/gnu/optimized CX mwsurf-cpp.o
  arm64/gnu/optimized CX opticalFlowFarnebackCore-cpp.o
  arm64/gnu/optimized CX pointTrackerCore-cpp.o
  arm64/gnu/optimized CX rtGetInf-cpp.o
  arm64/gnu/optimized CX rtGetNaN-cpp.o
  arm64/gnu/optimized CX rt_nonfinite-cpp.o
../opticalFlowFarnebackCore.cpp: In function 'void opticalFlowFarneback_compute(uint8_T*, uint8_T*, float*, float*, cvstFarnebackStruct_T*, int32_T, int32_T)':
../opticalFlowFarnebackCore.cpp:23:12: warning: unused parameter 'inFlowXY' [-Wunused-parameter]
     float *inFlowXY, float *outFlowXY,
            ^~~~~~~~
../opticalFlowFarnebackCore.cpp: In function 'void opticalFlowFarneback_computeRM(uint8_T*, uint8_T*, float*, float*, cvstFarnebackStruct_T*, int32_T, int32_T)':
../opticalFlowFarnebackCore.cpp:43:9: warning: unused parameter 'inFlowXY' [-Wunused-parameter]
  float *inFlowXY, float *outFlowXY,
         ^~~~~~~~
  arm64/gnu/optimized CX surfCommon-cpp.o
  arm64/gnu/optimized CX main-cpp.o
  arm64/gnu/optimized CX camera_input-cpp.o
  arm64/gnu/optimized CX gdc_pd_types-cpp.o
../pointTrackerCore.cpp: In function 'void getPoints(void*, float*)':
../pointTrackerCore.cpp:27:12: warning: variable 'pointDims' set but not used [-Wunused-but-set-variable]
     mwSize pointDims[2];
            ^~~~~~~~~
../pointTrackerCore.cpp: In function 'void getPointsRM(void*, float*)':
../pointTrackerCore.cpp:47:9: warning: variable 'pointDims' set but not used [-Wunused-but-set-variable]
  mwSize pointDims[2];
         ^~~~~~~~~
  arm64/gnu/optimized CX nxpvt_apexcv_arithmetic_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_color_conversion_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_histogram_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_image_filters_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_integral_image_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_interpolation_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_peopledetector-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_peopledetector_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_remap_w-cpp.o
  arm64/gnu/optimized CX nxpvt_apexcv_resize_w-cpp.o
  arm64/gnu/optimized CX nxpvt_convertScaleAbs_w-cpp.o
  arm64/gnu/optimized CX nxpvt_imread_w-cpp.o
  arm64/gnu/optimized CX nxpvt_imshow_w-cpp.o
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_peopledetector.cpp: In member function 'uint32_t nxpvt::PeopleDetector::PeopleDetect(vsdk::UMat, int32_t*, int32_t*)':
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_peopledetector.cpp:218:93: error: 'apexcv::Hog::HogType' has not been declared
             intResult = mHog.Initialize(mSceneResize_umat[i], mHogScores_umat, apexcv::Hog::HogType::DETECT);
                                                                                             ^~~~~~~
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_peopledetector.cpp:220:30: error: 'class apexcv::Hog' has no member named 'SetSVM'; did you mean 'SVM'?
             intResult = mHog.SetSVM(mSvmDouble);
                              ^~~~~~
make[3]: *** [/c/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/helpers.mk:174: nxpvt_apexcv_peopledetector-cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp: In function 'void nxpvt::apexcv_remap_initialize(nxpvt::apexcv_remap_wrapper, float*, uint32_t, uint32_t, uint32_t, int, int, int)':
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp:27:68: error: 'INTER_TYPE' is not a member of 'apexcv'
         remap_obj->Initialize(map, mapWidth, mapHeight, srcWidth, (apexcv::INTER_TYPE) interp, (apexcv::BORDER_TYPE) border, borderValue);
                                                                    ^~~~~~
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp:27:97: error: 'BORDER_TYPE' is not a member of 'apexcv'
         remap_obj->Initialize(map, mapWidth, mapHeight, srcWidth, (apexcv::INTER_TYPE) interp, (apexcv::BORDER_TYPE) border, borderValue);
                                                                                                 ^~~~~~
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp:24:147: warning: unused parameter 'interp' [-Wunused-parameter]
     void apexcv_remap_initialize(apexcv_remap_wrapper apexcv_remap_ptr, float* map, uint32_t mapWidth, uint32_t mapHeight, uint32_t srcWidth, int interp, int border, int borderValue)
                                                                                                                                                   ^~~~~~
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp:24:159: warning: unused parameter 'border' [-Wunused-parameter]
     void apexcv_remap_initialize(apexcv_remap_wrapper apexcv_remap_ptr, float* map, uint32_t mapWidth, uint32_t mapHeight, uint32_t srcWidth, int interp, int border, int borderValue)
                                                                                                                                                               ^~~~~~
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp: In function 'vsdk::UMat* nxpvt::apexcv_remap_process(nxpvt::apexcv_remap_wrapper, vsdk::UMat*, uint32_t, uint32_t)':
C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp:34:46: error: no matching function for call to 'apexcv::Remap::Process(vsdk::UMat&, vsdk::UMat&)'
         remap_obj->Process(*srcUMat, *dstUMat);
                                              ^
In file included from C:/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code//internals/src/nxpvt_apexcv_remap_w.cpp:5:0:
C:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/include/apexcv_pro_remap.h:119:23: note: candidate: APEXCV_LIB_RESULT apexcv::Remap::Process()
     APEXCV_LIB_RESULT Process();
                       ^~~~~~~
C:/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/include/apexcv_pro_remap.h:119:23: note:   candidate expects 0 arguments, 2 provided
make[3]: *** [/c/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/helpers.mk:174: nxpvt_apexcv_remap_w-cpp.o] Error 1
make[3]: Leaving directory '/c/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code/examples/apps/face_detection/codegen/exe/face_detection_camera_main/build-v234ce-gnu-linux-o'
make[2]: *** [/c/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/platforms/coordinator.mk:57: all] Error 2
make[2]: Leaving directory '/c/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code/examples/apps/face_detection/codegen/exe/face_detection_camera_main/build-v234ce-gnu-linux-o'
make[1]: *** [/c/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/sub.mk:74: allsub] Terminated
make[1]: Leaving directory '/c/Users/DavidChong/Documents/MATLAB/Add-Ons/Toolboxes/NXP_Vision_Toolbox_for_S32V234/code/examples/apps/face_detection/codegen/exe/face_detection_camera_main/build-v234ce-gnu-linux-o'
make: *** [/c/NXP/VisionSDK_S32V2_RTM_1_3_0/s32v234_sdk/build/nbuild/platforms/coordinator.mk:57: allsub] Error 2
Warning: Cannot deploy on target. Compilation failed..
> In nxpvt_codegen
  In run_face_detection_camera_main (line 33)

Labels (1)
Tags (1)
7 Replies

116 Views
Contributor II

Hi Paul,

Thanks for the advice, when I download the VSDK RTM 1.2.0 HF2 patch from the link, this is what i get in Figure 2 when i click in the link. After that, I try to save it manually as hf2_vision_sdk_rtm_1.2.0.patch and run the msys32.exe with this command "patch -p1 -i hf2_vision_sdk_rtm_1.2.0.patch", I get Figure 1. Any advice? Thanks

pastedImage_2.png

(Figure 1)

pastedImage_1.png

(Figure 2)

0 Kudos

116 Views
Contributor II

Hi Paul,

Finally successfully done, thanks very much

pastedImage_1.png

116 Views
NXP Employee
NXP Employee

Hi david.chong@techsource-asia.com‌,

That extra "/" doesn't affect the build of the application. You get that build error because the latest release of NXP Vision Toolbox, 2018.R1, works only with VSDK RTM 1.2.0 HF1 with HF2 patch applied.

To download VSDK RTM 1.2.0 HF1 click here .

To download VSDK RTM 1.2.0 HF2 patch click here . Save the hf2_vision_sdk_rtm_1.2.0.patch to C:\NXPs3\VisionSDK_S32V2_RTM_1_2_0\ (or wherever you have HF1 installed).

After you download both files, and install VSDK RTM 1.2.0 HF1, you need to apply the HF2 patch.

To do that follow this steps:

  1. Run msys32.exe from C:\NXPs3\VisionSDK_S32V2_RTM_1_2_0\msy2 folder. This opens a Linux shell.
  2. Run in the msys32 shell cd /c/NXP/VisionSDK_S32V2_RTM_1_2_0_HF1 to change the current directory to /c/NXP/VisionSDK_S32V2_RTM_1_2_0_HF1 (or wherever you have HF1 installed).
  3. Run in msys32 shell pacman -S patch to install the patch program.
  4.  Run in msys32 shell patch -p1 -i hf2_vision_sdk_rtm_1.2.0.patch to apply the HF2 patch.
0 Kudos

116 Views
Contributor I

Hi Paul Vlase, 

Apparently I am having similar problem as David Chong. I have already followed your instructions to install the VSDK RTM 1.2.0 HF1 with HF2 patch, however, I got a new error which reads as the following: 

pastedImage_1.png

I have already followed the instruction on the IP address as stated in the quickstart tutorial. Could you assist me on this?

0 Kudos

116 Views
NXP Employee
NXP Employee

Hi hasanfirdaus8@gmail.com‌,

Is your S32V234 board connect to the network? Are you able to ping the board from the windows cmd (ping BOARD_IP) ?

0 Kudos

116 Views
Contributor I

Hi paulvlase,

Yes, I am able to ping the board from the command prompt, as can be referred to this figure below. The thing is, the codegen seems successfully created, the only problem is the porting of the code to the board. For your info, I have also unabled windows firewall, in case there is issue with the firewall. Is there any chance the problem lies with the firewall of my institution's internet?

pastedImage_1.png

0 Kudos

116 Views
NXP Employee
NXP Employee

Hi hasanfirdaus8@gmail.com,

In order to use a different a port, please run this self-extracting archive in the folder where you have the vision_toolbox installed (e.g. C:\Users\nxf40536\Documents\MATLAB\Add-Ons\Toolboxes ) . The password for the archive is nxp123.

pastedImage_4.png

pastedImage_1.png

Please let me know if you have any questions or stumble across any problem.

Thank you,

Vlad Dascau

0 Kudos