Code generation failed when I want to deploy my function
조회 수: 4 (최근 30일)
이전 댓글 표시
I get this error below when trying to generate CUDA Code for the Jetson Target. Before this it works fine but this time it failed. Anyone have idea? Please help me.
codegen('-config ',cfg,'EdgeDetection','-report');
------------------------------------------------------------------------
Error executing command "touch -c /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/*.*;make -f EdgeDetection_rtw.mk all MATLAB_WORKSPACE="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b" -C /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection". Details:
STDERR: In file included from /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/frameReader.c:2:0:
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/frameReader.c: In function ‘initializeVideoPipeline’:
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/frameReader.h:19:47: warning: too many arguments for format [-Wformat-extra-args]
#define MW_ERROR_ARGS(msg,arg) fprintf(stderr,"%s", msg, arg);
^
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/frameReader.c:343:9: note: in expansion of macro ‘MW_ERROR_ARGS’
MW_ERROR_ARGS("Error: Creating '%s' element.\n",gstSrcElement);
^~~~~~~~~~~~~
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/getCameraProps.c: In function ‘getCameraCaps’:
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/getCameraProps.c:60:31: warning: comparison between pointer and integer
while (!(caps.card[srcidx]==NULL))
^~
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/EdgeDetection.cu(1428): error: argument of type "__nv_bool *" is incompatible with parameter of type "const uint8_T *"
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/EdgeDetection.cu(1428): error: argument of type "__nv_bool *" is incompatible with parameter of type "const uint8_T *"
/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/EdgeDetection.cu(1428): error: argument of type "__nv_bool *" is incompatible with parameter of type "const uint8_T *"
3 errors detected in the compilation of "/tmp/tmpxft_00002247_00000000-6_EdgeDetection.cpp1.ii".
make: *** [EdgeDetection.o] Error 1
STDOUT: make: Entering directory '/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection'
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o BwlabelCuda_mw_ptx.o BwlabelCuda_mw_ptx.cu
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o MWPtxUtils.o MWPtxUtils.cu
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o ImreconstructCuda_mw_ptx.o ImreconstructCuda_mw_ptx.cu
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o rt_nonfinite.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/rt_nonfinite.cpp
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o rtGetNaN.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/rtGetNaN.cpp
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o rtGetInf.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/rtGetInf.cpp
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o frameReader.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/frameReader.c
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o getCameraProps.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/getCameraProps.c
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o MW_SDL_video_display.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server/MW_SDL_video_display.c
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o EdgeDetection_data.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/EdgeDetection_data.cu
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o EdgeDetection_initialize.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/EdgeDetection_initialize.cu
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o EdgeDetection_terminate.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/EdgeDetection_terminate.cu
nvcc -rdc=true -Xcudafe "--diag_suppress=unsigned_compare_with_zero" -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -c -Xcompiler -MMD,-MP -DMW_DL_DATA_PATH="/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection" -O2 -Xcompiler `pkg-config --cflags --libs gstreamer-app-1.0` -arch sm_35 -D_MW_MATLABTGT_ -DMW_CUDA_ARCH=350 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=EdgeDetection -DHAVESTDIO -DUSE_RTMODEL -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/sources/server -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/examples -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/nvidia/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/extern/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/simulink/include -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/src/ext_mode/common -I/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Program_Files/MATLAB/R2019b/rtw/c/ert -o EdgeDetection.o /home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection/EdgeDetection.cu
EdgeDetection_rtw.mk:468: recipe for target 'EdgeDetection.o' failed
make: Leaving directory '/home/farhana/remoteBuildDir/MATLAB_ws/R2019b/C/Users/User/OneDrive_-_Universiti_Kuala_Lumpur/6FYP/EDGE/codegen/exe/EdgeDetection'
------------------------------------------------------------------------
??? Build error: C++ compiler produced errors. See the Build Log for further details.
댓글 수: 8
Hanumanth Hanumantharayappa
2023년 1월 9일
Hariprasad Ravishankar
2023년 1월 10일
The 'Unable to locate function' usually means that the functon 'DetectEdge' is not found in your MATLAB path or in your current folder. Can you try running the 'codegen' command from the directory that contains the 'DetectEdge' function? Alternatively you can add the folder and subfolders containing 'DetectEdge' to your MATLAB Path using the addpath function.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!