Effacer les filtres
Effacer les filtres

Error found in example "Classify Static Image Using Deep Learning on Raspberry Pi"

1 vue (au cours des 30 derniers jours)
Xiao Liu
Xiao Liu le 28 Mar 2022
Réponse apportée : Vatsal le 26 Mar 2024
I found the following error after running the official tutorial material provided by the Mathworks teamClassify Static Image Using Deep Learning on Raspberry Pi, I did not not do any modification to the tutorial code, and just click the run button. Firstly, I checked my raspberry pi, i ran a similiar example like this and deploy it successfully, which is
I also ran "Classify Static Image Using Deep Learning on Raspberry Pi" on the other computer, the error occured again, I tried both way on how to modify main.cpp file, but no ideas with why it couldn't perform well on my computer, the error occured at step 4. The error message was linked below. Could someone tell me what goes wrong here? Thank you
Error executing command "touch -c /home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/*.*;make -f raspi_fileRead_resnet_rtw.mk all MATLAB_WORKSPACE="/home/pi/MATLAB_ws/R2021b" -C /home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet". Details:
STDERR: /home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/main.cpp:84:5: error: conflicting declaration of C function ‘int main(int, const char* const*)’
int main(int argc, const char * const argv[])
^~~~
In file included from /home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/main.cpp:38:
/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/main.h:48:12: note: previous declaration ‘int main(int, char**)’
extern int main(int argc, char **argv);
^~~~
make: *** [raspi_fileRead_resnet_rtw.mk:492: main.cpp.o] Error 1
STDOUT: make: Entering directory '/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet'
g++ -c -MMD -MP -MF"MWAdditionLayer.cpp.dep" -MT"MWAdditionLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWAdditionLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWAdditionLayer.cpp"
g++ -c -MMD -MP -MF"MWAvgPoolingLayer.cpp.dep" -MT"MWAvgPoolingLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWAvgPoolingLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWAvgPoolingLayer.cpp"
g++ -c -MMD -MP -MF"MWCNNLayer.cpp.dep" -MT"MWCNNLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWCNNLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWCNNLayer.cpp"
g++ -c -MMD -MP -MF"MWConvLayer.cpp.dep" -MT"MWConvLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWConvLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWConvLayer.cpp"
g++ -c -MMD -MP -MF"MWElementwiseAffineLayer.cpp.dep" -MT"MWElementwiseAffineLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWElementwiseAffineLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWElementwiseAffineLayer.cpp"
g++ -c -MMD -MP -MF"MWFCLayer.cpp.dep" -MT"MWFCLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWFCLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWFCLayer.cpp"
g++ -c -MMD -MP -MF"MWFusedConvActivationLayer.cpp.dep" -MT"MWFusedConvActivationLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWFusedConvActivationLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWFusedConvActivationLayer.cpp"
g++ -c -MMD -MP -MF"MWInputLayer.cpp.dep" -MT"MWInputLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWInputLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWInputLayer.cpp"
g++ -c -MMD -MP -MF"MWMaxPoolingLayer.cpp.dep" -MT"MWMaxPoolingLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWMaxPoolingLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWMaxPoolingLayer.cpp"
g++ -c -MMD -MP -MF"MWOutputLayer.cpp.dep" -MT"MWOutputLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWOutputLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWOutputLayer.cpp"
g++ -c -MMD -MP -MF"MWReLULayer.cpp.dep" -MT"MWReLULayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWReLULayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWReLULayer.cpp"
g++ -c -MMD -MP -MF"MWSoftmaxLayer.cpp.dep" -MT"MWSoftmaxLayer.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWSoftmaxLayer.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWSoftmaxLayer.cpp"
g++ -c -MMD -MP -MF"MWTensorBase.cpp.dep" -MT"MWTensorBase.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWTensorBase.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWTensorBase.cpp"
g++ -c -MMD -MP -MF"MWArmneonAdditionLayerImpl.cpp.dep" -MT"MWArmneonAdditionLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonAdditionLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonAdditionLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonAvgPoolingLayerImpl.cpp.dep" -MT"MWArmneonAvgPoolingLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonAvgPoolingLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonAvgPoolingLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonConvLayerImpl.cpp.dep" -MT"MWArmneonConvLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonConvLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonConvLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonElementwiseAffineLayerImpl.cpp.dep" -MT"MWArmneonElementwiseAffineLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonElementwiseAffineLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonElementwiseAffineLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonFCLayerImpl.cpp.dep" -MT"MWArmneonFCLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonFCLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonFCLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonFusedConvActivationLayerImpl.cpp.dep" -MT"MWArmneonFusedConvActivationLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonFusedConvActivationLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonFusedConvActivationLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonInputLayerImpl.cpp.dep" -MT"MWArmneonInputLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonInputLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonInputLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonMaxPoolingLayerImpl.cpp.dep" -MT"MWArmneonMaxPoolingLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonMaxPoolingLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonMaxPoolingLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonOutputLayerImpl.cpp.dep" -MT"MWArmneonOutputLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonOutputLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonOutputLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonReLULayerImpl.cpp.dep" -MT"MWArmneonReLULayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonReLULayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonReLULayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonSoftmaxLayerImpl.cpp.dep" -MT"MWArmneonSoftmaxLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonSoftmaxLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonSoftmaxLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonCNNLayerImpl.cpp.dep" -MT"MWArmneonCNNLayerImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonCNNLayerImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonCNNLayerImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonTargetNetworkImpl.cpp.dep" -MT"MWArmneonTargetNetworkImpl.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonTargetNetworkImpl.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonTargetNetworkImpl.cpp"
g++ -c -MMD -MP -MF"MWArmneonLayerImplFactory.cpp.dep" -MT"MWArmneonLayerImplFactory.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonLayerImplFactory.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonLayerImplFactory.cpp"
g++ -c -MMD -MP -MF"MWACLUtils.cpp.dep" -MT"MWACLUtils.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWACLUtils.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWACLUtils.cpp"
g++ -c -MMD -MP -MF"MWArmneonCustomLayerBase.cpp.dep" -MT"MWArmneonCustomLayerBase.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "MWArmneonCustomLayerBase.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/MWArmneonCustomLayerBase.cpp"
g++ -c -MMD -MP -MF"main.cpp.dep" -MT"main.cpp.o" -fpermissive -O2 -std=c++11 -mfpu=neon -fopenmp -DUSE_20_02_1_LIBRARY -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_MATLABTARGET -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=200000 -DMODEL=raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet -I/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample -I/opt/ComputeLibrary_20021 -I/opt/ComputeLibrary_20021/include -I/home/pi/MATLAB_ws/R2021b/C/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2021b/D/Matlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2021b/D/Matlab/extern/include -o "main.cpp.o" "/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet/main.cpp"
make: Leaving directory '/home/pi/MATLAB_ws/R2021b/C/Users/25074/Documents/MATLAB/Examples/R2021b/raspberrypiio/ClassifyImageOnRaspberryPiViaSSHWithResNet50AndOpenCVExample/codegen/exe/raspi_fileRead_resnet'

Réponses (1)

Vatsal
Vatsal le 26 Mar 2024
Hello,
It appears that the error you are encountering is due to a conflicting declaration of the 'main' function in the C++ code. The error message indicates that there are two different declarations of the 'main' function.
For guidance on how to resolve this issue, you might find it helpful to look at a similar case that has been resolved:
I hope this helps!

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by