raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.17k stars 4.69k forks source link

[ 62%] Linking CXX shared library ../lib/libORB_SLAM2.so /usr/bin/ld: 找不到 -lEigen3::Eigen #1041

Open fencun opened 2 years ago

fencun commented 2 years ago

[ 62%] Linking CXX shared library ../lib/libORB_SLAM2.so /usr/bin/ld: 找不到 -lEigen3::Eigen collect2: error: ld returned 1 exit status CMakeFiles/ORB_SLAM2.dir/build.make:600: recipe for target '../lib/libORB_SLAM2.so' failed make[2]: [../lib/libORB_SLAM2.so] Error 1 CMakeFiles/Makefile2:252: recipe for target 'CMakeFiles/ORB_SLAM2.dir/all' failed make[1]: [CMakeFiles/ORB_SLAM2.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

PicoAuto commented 2 years ago

Someone had fixed this issue, please check https://github.com/raulmur/ORB_SLAM2/issues/1015#issuecomment-912593195