当编译执行到./build.sh
文件时,报错Eigen3 found!之类错误。
解决方法:
在主文件夹下直接查找FindEigen3.cmake文件,然后把它复制到报错的CMakeLists.txt对应的路径下/src中,在CMakeLists.txt中,
添加:
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
include_directories($ {EIGEN3_INCLUDE_DIRS})
当编译执行到./build_ros.sh
文件时,报错Eigen3 found!
解决方法:
在主文件夹下直接查找FindEigen3.cmake文件,然后把它复制到报错的orb-slam2/Examples/ROS/ORB-SLAM21/CMakeLists.txt对应的路径下/src中,在CMakeLists.txt中,
添加:
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
include_directories($ {EIGEN3_INCLUDE_DIRS})