sh build.sh -- VIBRANTE_PDK = /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux -- VIBRANTE_PDK_DEVICE = t186ref -- VIBRANTE_PDK_BRANCH = 5.2.0.0 -- Vibrante version 5.2.0.0 -- VIBRANTE_PDK = /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux -- Vibrante version 5.2.0.0 -- The C compiler identification is GNU 7.3.1 -- The CXX compiler identification is GNU 7.3.1 -- Check for working C compiler: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/../toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -- Check for working C compiler: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/../toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/../toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -- Check for working CXX compiler: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/../toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The CUDA compiler identification is NVIDIA 10.2.187 -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Detecting CUDA compile features -- Detecting CUDA compile features - done PKG_CONFIG_PATH:/home/lidar/usr/lib/pkgconfig: -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'tacopie' -- Found tacopie, version TACOPIE_FOUND:1 TACOPIE_VERSION: TACOPIE_LIBRARIES:tacopie TACOPIE_INCLUDE_DIRS:/usr/local/include TACOPIE_LIBRARY_DIRS:/usr/local/lib -- Checking for module 'cpp_redis' -- Found cpp_redis, version CPP_REDIS_FOUND:1 CPP_REDIS_VERSION: CPP_REDIS_LIBRARIES:cpp_redis CPP_REDIS_INCLUDE_DIRS:/usr/local/include CPP_REDIS_LIBRARY_DIRS:/usr/local/lib -- Checking for module 'hiredis' -- Found hiredis, version 0.13.3 HIREDIS_FOUND:1 HIREDIS_VERSION:0.13.3 HIREDIS_LIBRARIES:hiredis HIREDIS_INCLUDE_DIRS:/usr/include/hiredis HIREDIS_LIBRARY_DIRS: -- Checking for module 'redis++' -- Found redis++, version 1.3.3 REDIS_PLUS_PLUS_FOUND:1 REDIS_PLUS_PLUS_VERSION:1.3.3 REDIS_PLUS_PLUS_LIBRARIES:redis++hiredis REDIS_PLUS_PLUS_INCLUDE_DIRS:/usr/local/include/usr/include/hiredis REDIS_PLUS_PLUS_LIBRARY_DIRS:/usr/local/lib -- Checking for module 'opencv' -- Found opencv, version 3.2.0 OPENCV_FOUND:1 OPENCV_VERSION:3.2.0 OPENCV_LIBRARIES:opencv_shapeopencv_stitchingopencv_superresopencv_videostabopencv_arucoopencv_bgsegmopencv_bioinspiredopencv_ccalibopencv_datasetsopencv_dpmopencv_faceopencv_freetypeopencv_fuzzyopencv_hdfopencv_line_descriptoropencv_optflowopencv_videoopencv_plotopencv_regopencv_saliencyopencv_stereoopencv_structured_lightopencv_phase_unwrappingopencv_rgbdopencv_vizopencv_surface_matchingopencv_textopencv_ximgprocopencv_calib3dopencv_features2dopencv_flannopencv_xobjdetectopencv_objdetectopencv_mlopencv_xphotoopencv_highguiopencv_videoioopencv_imgcodecsopencv_photoopencv_imgprocopencv_core OPENCV_INCLUDE_DIRS:/usr/include/opencv OPENCV_LIBRARY_DIRS: -- Found EGL: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so -- Found /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so: -- - Includes: [/home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/include] -- - Libraries: [/home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so] -- Found: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libdrm.so -- Header at: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/include -- DW_EXPERIMENTAL_FORCE_EGL set and EGL Support Enabled -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Cross Compiling for Vibrante -- Building with TRT version 6.3.1.3 and cudnn version 7.6.6.184, pdk version 5.2.0.0 -- Building GLFW for X11 (static) -- Found X11: /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/include -- Looking for XOpenDisplay in /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libX11.so;/home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libXext.so -- Looking for XOpenDisplay in /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libX11.so;/home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- VIBRANTE_PDK_BRANCH = 5.2.0.0 -- Found vibrante lib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante/lib/libudev.so -- Found vibrante lib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante/lib/libusb-1.0.so -- Found vibrante_Xlib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib/libXcursor.so -- Driveworks Samples install dir: /home/lidar/Documents/Nvidia_Drive/buildCrossCompile/install -- Found 'dw/core/Version.h' in /usr/local/driveworks-3.5/targets/aarch64-Linux/include -- Found driveworks library in /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so -- Found 'dwvisualization/core/Visualization.h' in /usr/local/driveworks-3.5/targets/aarch64-Linux/include -- Found driveworks_visualization library in /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so -- Configuring done -- Generating done -- Build files have been written to: /home/lidar/Documents/Nvidia_Drive/buildCrossCompile Scanning dependencies of target create-data-symlink [ 2%] Built target lodepng-src [ 3%] Built target samples_allocator [ 3%] Built target create-data-symlink [ 5%] Built target samples_framework_nocuda [ 6%] Built target sample_imu_plugin [ 8%] Built target sample_gps_plugin [ 9%] Built target sample_can_plugin [ 18%] Built target glfw-x11 [ 18%] Built target glfw-src [ 30%] Built target samples_framework [ 31%] Built target sample_gps_logger [ 33%] Built target sample_canbus_interpreter Scanning dependencies of target sample_camera [ 35%] Built target sample_imu_logger [ 36%] Built target sample_sensors_info [ 37%] Built target sample_camera_replay [ 39%] Built target sample_record [ 41%] Built target sample_camera_seek [ 42%] Built target sample_canbus_logger [ 44%] Built target sample_egomotion [ 44%] Built target sample_timesensor [ 45%] Built target sample_rig [ 46%] Built target sample_radar_replay [ 49%] Built target sample_image_pyramid_pva [ 49%] Built target sample_connected_components [ 50%] Built target sample_template_tracker [ 51%] Built target sample_feature_tracker [ 52%] Built target sample_datasensor [ 54%] Built target sample_stereo_disparity [ 55%] Built target sample_lidar_replay [ 60%] Built target sample_cameraserver_client [ 60%] Built target sample_imagetransformation [ 60%] Built target sample_camera_usb [ 60%] Built target sample_sfm [ 63%] Built target sample_fast9_feature_detector [ 66%] Built target sample_video_rectifier [ 66%] Built target sample_color_correction [ 68%] Built target sample_stereo_disparity_pva [ 68%] Built target sample_cameraserver_client_raw [ 71%] Built target sample_render_engine [ 71%] Built target sample_renderer [ 71%] Built target sample_denseopticalflow [ 72%] Linking CXX executable sample_hello_world [ 74%] Built target dw_samples_image_common [ 74%] Linking CXX shared library libdnn_pool_plugin.so [ 75%] Linking CXX executable sample_dnn_tensor [ 76%] Linking CXX shared library libsample_vehicleio_plugin.so [ 77%] Linking CXX executable sample_socket_ipc_clientserver [ 77%] Linking CXX executable sample_object_detector_tracker [ 77%] Linking CXX executable sample_calibration_lidar [ 77%] Linking CXX executable sample_calibration_radar [ 77%] Linking CXX executable sample_vehicleio [ 79%] Linking CXX executable sample_calibration_imu [ 79%] Linking CXX executable sample_calibration_camera [ 80%] Linking CXX executable sample_template [ 80%] Linking CXX executable sample_icp [ 81%] Linking CXX executable sample_calibration_stereo [ 81%] Linking CXX executable sample_dataspeedBridge [ 82%] Linking CXX executable sample_calibration_steering [ 82%] Linking CXX executable sample_pointcloudprocessing [ 83%] Linking CXX executable sample_image_streamer_multi [ 83%] Linking CXX executable sample_image_streamer_simple [ 84%] Linking CXX executable sample_image_streamer_cross [ 84%] Linking CXX executable sample_image_capture [ 84%] Building CXX object src/sensors/camera/camera/CMakeFiles/sample_camera.dir/main.cpp.o /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.3.1/../../../../aarch64-linux-gnu/bin/ld: total time in link: 0.179701 /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.3.1/../../../../aarch64-linux-gnu/bin/ld: data size 25141248 [ 85%] Built target dnn_pool_plugin [ 85%] Built target sample_hello_world [ 85%] Linking CXX executable sample_dnn_plugin /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.3.1/../../../../aarch64-linux-gnu/bin/ld: total time in link: 0.255240 /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.3.1/../../../../aarch64-linux-gnu/bin/ld: data size 24846336 [ 86%] Built target sample_calibration_steering [ 87%] Built target sample_calibration_radar [ 88%] Built target sample_vehicleio_plugin [ 89%] Built target sample_image_capture [ 89%] Built target sample_template [ 90%] Built target sample_image_streamer_simple [ 91%] Built target sample_dnn_tensor [ 91%] Built target sample_image_streamer_multi [ 92%] Built target sample_object_detector_tracker [ 93%] Built target sample_icp [ 93%] Built target sample_socket_ipc_clientserver [ 93%] Built target sample_calibration_imu [ 94%] Built target sample_dataspeedBridge [ 94%] Built target sample_calibration_camera [ 94%] Built target sample_image_streamer_cross [ 95%] Built target sample_vehicleio [ 97%] Built target sample_pointcloudprocessing [ 98%] Built target sample_calibration_lidar [ 98%] Built target sample_calibration_stereo [ 99%] Built target sample_dnn_plugin [100%] Linking CXX executable sample_camera CMakeFiles/sample_camera.dir/main.cpp.o: In function `cvflann::anyimpl::big_any_policy::static_delete(void**)': main.cpp:(.text._ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE13static_deleteEPPv[_ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE13static_deleteEPPv]+0x1c): undefined reference to `cv::String::deallocate()' CMakeFiles/sample_camera.dir/main.cpp.o: In function `cvflann::anyimpl::big_any_policy::move(void* const*, void**)': main.cpp:(.text._ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_[_ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_]+0x18): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_[_ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_]+0x30): undefined reference to `cv::String::deallocate()' CMakeFiles/sample_camera.dir/main.cpp.o: In function `cv::String::String(char const*)': main.cpp:(.text._ZN2cv6StringC2EPKc[_ZN2cv6StringC5EPKc]+0x34): undefined reference to `cv::String::allocate(unsigned long)' CMakeFiles/sample_camera.dir/main.cpp.o: In function `cv::Mat::~Mat()': main.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x84): undefined reference to `cv::fastFree(void*)' main.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x94): undefined reference to `cv::Mat::deallocate()' CMakeFiles/sample_camera.dir/main.cpp.o: In function `CameraCustomSimpleApp::frameGrab(dwImageObject*, unsigned int)': main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x148): undefined reference to `cv::imencode(cv::String const&, cv::_InputArray const&, std::vector >&, std::vector > const&)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x15c): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x164): undefined reference to `cpp_redis::client::client()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x1b4): undefined reference to `cpp_redis::client::connect(std::__cxx11::basic_string, std::allocator > const&, unsigned long, std::function, std::allocator > const&, unsigned long, cpp_redis::connect_state)> const&, unsigned int, int, unsigned int)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x458): undefined reference to `cpp_redis::client::set(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x4bc): undefined reference to `cpp_redis::client::sync_commit()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x4f0): undefined reference to `cpp_redis::client::~client()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x564): undefined reference to `cv::fastFree(void*)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x5ec): undefined reference to `cv::Mat::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x684): undefined reference to `cv::error(int, cv::String const&, char const*, char const*, int)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x68c): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0xcc4): undefined reference to `cpp_redis::client::~client()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x1330): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x134c): undefined reference to `cv::String::deallocate()' collect2: error: ld returned 1 exit status src/sensors/camera/camera/CMakeFiles/sample_camera.dir/build.make:130: recipe for target 'src/sensors/camera/camera/sample_camera' failed make[2]: *** [src/sensors/camera/camera/sample_camera] Error 1 CMakeFiles/Makefile2:2246: recipe for target 'src/sensors/camera/camera/CMakeFiles/sample_camera.dir/all' failed make[1]: *** [src/sensors/camera/camera/CMakeFiles/sample_camera.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 [ 2%] Built target lodepng-src [ 11%] Built target glfw-x11 [ 11%] Built target glfw-src [ 12%] Built target samples_allocator [ 12%] Built target create-data-symlink [ 24%] Built target samples_framework [ 26%] Built target samples_framework_nocuda [ 27%] Built target sample_egomotion [ 28%] Built target sample_sensors_info [ 29%] Built target sample_gps_logger [ 31%] Built target sample_imu_logger [ 32%] Built target sample_camera_replay [ 34%] Built target sample_camera_seek [ 36%] Built target sample_record [ 37%] Built target sample_canbus_logger [ 39%] Built target sample_canbus_interpreter [ 40%] Built target sample_lidar_replay [ 41%] Built target sample_radar_replay [ 42%] Built target sample_imu_plugin [ 44%] Built target sample_gps_plugin [ 45%] Built target sample_can_plugin [ 46%] Built target sample_timesensor [ 47%] Linking CXX executable sample_camera CMakeFiles/sample_camera.dir/main.cpp.o: In function `cvflann::anyimpl::big_any_policy::static_delete(void**)': main.cpp:(.text._ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE13static_deleteEPPv[_ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE13static_deleteEPPv]+0x1c): undefined reference to `cv::String::deallocate()' CMakeFiles/sample_camera.dir/main.cpp.o: In function `cvflann::anyimpl::big_any_policy::move(void* const*, void**)': main.cpp:(.text._ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_[_ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_]+0x18): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_[_ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE4moveEPKPvPS5_]+0x30): undefined reference to `cv::String::deallocate()' CMakeFiles/sample_camera.dir/main.cpp.o: In function `cv::String::String(char const*)': main.cpp:(.text._ZN2cv6StringC2EPKc[_ZN2cv6StringC5EPKc]+0x34): undefined reference to `cv::String::allocate(unsigned long)' CMakeFiles/sample_camera.dir/main.cpp.o: In function `cv::Mat::~Mat()': main.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x84): undefined reference to `cv::fastFree(void*)' main.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x94): undefined reference to `cv::Mat::deallocate()' CMakeFiles/sample_camera.dir/main.cpp.o: In function `CameraCustomSimpleApp::frameGrab(dwImageObject*, unsigned int)': main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x148): undefined reference to `cv::imencode(cv::String const&, cv::_InputArray const&, std::vector >&, std::vector > const&)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x15c): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x164): undefined reference to `cpp_redis::client::client()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x1b4): undefined reference to `cpp_redis::client::connect(std::__cxx11::basic_string, std::allocator > const&, unsigned long, std::function, std::allocator > const&, unsigned long, cpp_redis::connect_state)> const&, unsigned int, int, unsigned int)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x458): undefined reference to `cpp_redis::client::set(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x4bc): undefined reference to `cpp_redis::client::sync_commit()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x4f0): undefined reference to `cpp_redis::client::~client()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x564): undefined reference to `cv::fastFree(void*)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x5ec): undefined reference to `cv::Mat::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x684): undefined reference to `cv::error(int, cv::String const&, char const*, char const*, int)' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x68c): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0xcc4): undefined reference to `cpp_redis::client::~client()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x1330): undefined reference to `cv::String::deallocate()' main.cpp:(.text._ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj[_ZN21CameraCustomSimpleApp9frameGrabEP13dwImageObjectj]+0x134c): undefined reference to `cv::String::deallocate()' collect2: error: ld returned 1 exit status src/sensors/camera/camera/CMakeFiles/sample_camera.dir/build.make:130: recipe for target 'src/sensors/camera/camera/sample_camera' failed make[2]: *** [src/sensors/camera/camera/sample_camera] Error 1 CMakeFiles/Makefile2:2246: recipe for target 'src/sensors/camera/camera/CMakeFiles/sample_camera.dir/all' failed make[1]: *** [src/sensors/camera/camera/CMakeFiles/sample_camera.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2