他的回复:
具体报错信息如下:make -j8 VERBOSE=1 /home/leo/workbench/mdc/MDC_Development_Studio-1.0.003.8/tools/cmake/bin/cmake -S/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz -B/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug --check-build-system CMakeFiles/Makefile.cmake 0/home/leo/workbench/mdc/MDC_Development_Studio-1.0.003.8/tools/cmake/bin/cmake -E cmake_progress_start /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug/CMakeFiles /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug/CMakeFiles/progress.marksmake -f CMakeFiles/Makefile2 allmake[1]: Entering directory '/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug'make -f CMakeFiles/mdc_camera_mviz.dir/build.make CMakeFiles/mdc_camera_mviz.dir/dependmake[2]: Entering directory '/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug'cd /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug && /home/leo/workbench/mdc/MDC_Development_Studio-1.0.003.8/tools/cmake/bin/cmake -E cmake_depends "Unix Makefiles" /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug /home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug/CMakeFiles/mdc_camera_mviz.dir/DependInfo.cmake --color=make[2]: Leaving directory '/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug'make -f CMakeFiles/mdc_camera_mviz.dir/build.make CMakeFiles/mdc_camera_mviz.dir/buildmake[2]: Entering directory '/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug'[ 25%] Linking CXX executable mdc_camera_mviz/home/leo/workbench/mdc/MDC_Development_Studio-1.0.003.8/tools/cmake/bin/cmake -E cmake_link_script CMakeFiles/mdc_camera_mviz.dir/link.txt --verbose=1/usr/bin/aarch64-linux-gnu-g++ --sysroot=/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot -Wl,--as-needed -fPIE -pie -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now CMakeFiles/mdc_camera_mviz.dir/generated/cameraserviceinterface_common.cpp.o CMakeFiles/mdc_camera_mviz.dir/src/camera_mviz.cpp.o CMakeFiles/mdc_camera_mviz.dir/src/main.cpp.o -o mdc_camera_mviz -L/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/lib64 -L/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/lib -Wl,-rpath,/usr/local/lib64:/usr/local/lib -lara_com -lara_per -lara_exec -lara_log -lcrypto -lddscpp -lddscore -ldlt -lgmock -lgmock_main -liccshm -lJsonParser -ljsoncpp -lKeyValueStorage -llogging -lMdioDrvAdapter -lpthread -lpci_dev_info -lprotobuf-c -lrng -lsomeip -lsecurec -lssl -lvrtf_vcc -lvcc_ddsdriver -lvcc_someipdriver -lyaml-cpp -lara_visual -lpcie_trans CMakeFiles/mdc_camera_mviz.dir/src/camera_mviz.cpp.o:在函数‘CameraMviz::CameraEncodedEventReceived(unsigned int)’中:/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/src/camera_mviz.cpp:59:对‘cv::imwrite(cv::String const&, cv::_InputArray const&, std::vector > const&)’未定义的引用CMakeFiles/mdc_camera_mviz.dir/src/camera_mviz.cpp.o:在函数‘cv::String::String(char const*)’中:/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/include/opencv2/core/cvstd.hpp:602:对‘cv::String::allocate(unsigned long)’未定义的引用CMakeFiles/mdc_camera_mviz.dir/src/camera_mviz.cpp.o:在函数‘cv::String::~String()’中:/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/include/opencv2/core/cvstd.hpp:648:对‘cv::String::deallocate()’未定义的引用CMakeFiles/mdc_camera_mviz.dir/src/camera_mviz.cpp.o:在函数‘cv::String::operator=(cv::String const&)’中:/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/include/opencv2/core/cvstd.hpp:656:对‘cv::String::deallocate()’未定义的引用collect2: error: ld returned 1 exit statusCMakeFiles/mdc_camera_mviz.dir/build.make:113: recipe for target 'mdc_camera_mviz' failedmake[2]: *** [mdc_camera_mviz] Error 1make[2]: Leaving directory '/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug'CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/mdc_camera_mviz.dir/all' failedmake[1]: Leaving directory '/home/leo/workbench/mdc/MDS_1.0.003.8_Workspace/mdc_camera_mviz/Debug'Makefile:83: recipe for target 'all' failedmake[1]: *** [CMakeFiles/mdc_camera_mviz.dir/all] Error 2make: *** [all] Error 2"make -j8 VERBOSE=1" terminated with exit code 2. Build might be incomplete.