gaoxiang12 / ORBSLAM2_with_pointcloud_map

830 stars 346 forks source link

warning: libopencv_core.so.2.4 #44

Open zhoux121 opened 2 years ago

zhoux121 commented 2 years ago

Has anyone encountered these issues? it looks like I have links to the wrong path, but I am not sure how to fix it :(

/usr/bin/ld: warning: libopencv_core.so.2.4, needed by ../Thirdparty/DBoW2/lib/libDBoW2.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: ../Thirdparty/DBoW2/lib/libDBoW2.so: undefined reference to cv::_OutputArray::_OutputArray(cv::Mat&)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference toDBoW2::FORB::fromString(cv::Mat&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to `DBoW2::FORB::toString[abi:cxx11](cv::Mat const&)' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/rgbd_my.dir/build.make:245: ../Examples/RGB-D/rgbd_my] Error 1 make[1]: [CMakeFiles/Makefile2:82: CMakeFiles/rgbd_my.dir/all] Error 2 make: *** [Makefile:84: all] Error 2