编译视觉SLAM十四讲
或者安装pangolin过程中
/usr/bin/ld: cannot find -lEigen3::Eigen
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/joinMap.dir/build.make:102: joinMap] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/joinMap.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Eigen库不同于一般的库,它只有头文件,没有.so和 .a那样的二进制库文件
哪来的libEigen.so需要你-l ?
CMakeLists.txt中添加
find_package(Eigen3 3.3 REQUIRED NO_MODULE)
include(FindEigen3.cmake)