ORB_SLAM
ORB_SLAM copied to clipboard
my problem in build when running make command
My environment is ubuntu20.04,use opencv4,
when i run make,occur this error:
/usr/bin/ld: warning: libopencv_imgcodecs.so.4.2, needed by /opt/ros/noetic/lib/libcv_bridge.so, may conflict with libopencv_imgcodecs.so.410 /usr/bin/ld: warning: libopencv_imgproc.so.4.2, needed by /opt/ros/noetic/lib/libcv_bridge.so, may conflict with libopencv_imgproc.so.410 /usr/bin/ld: CMakeFiles/ORB_SLAM.dir/src/Tracking.cc.o: undefined reference to symbol '_ZN2cv8cvtColorERKNS_11_InputArrayERKNS_12_OutputArrayEii' /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.4.2.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/ORB_SLAM.dir/build.make:1387:../bin/ORB_SLAM] 错误 1 make[1]: *** [CMakeFiles/Makefile2:209:CMakeFiles/ORB_SLAM.dir/all] 错误 2
how can i solve this?