官网安装教程-Cartographer ROS Integration
1 | # Install wstool and rosdep. |
将1
2
3
4
5
6将CMakeLists.txt中的find_package(Eigen3 REQUIRED)
替换成:
include_directories( "/usr/include/eigen3" )
#find_package(Eigen3 REQUIRED)
因为Eigen3全是头文件,所以可以直接在CMakeLists.txt中添加eigen3的路径