按照本link,中提供的教程,我试图将ORB_SLAM作为ROS Indigo中的ROS节点运行。执行/.build_ros.sh行后,我面临一个错误列表,
/home/ubuntu_16/ORB_SLAM2/Examples/ROS/ORB_SLAM2/../../../Thirdparty/g2o/g2o/types/../core/jacobian_workspace.h:30:22: fatal error: Eigen/Core: No such file or directory
compilation terminated.
CMakeFiles/RGBD.dir/build.make:118: recipe for target 'CMakeFiles/RGBD.dir/src/ros_rgbd.cc.o' failed
make[2]: *** [CMakeFiles/RGBD.dir/src/ros_rgbd.cc.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RGBD.dir/all' failed
make[1]: *** [CMakeFiles/RGBD.dir/all] Error 2
我无法摆脱这些问题,如果有人面对同样的问题,请帮忙。 谢谢。
答案 0 :(得分:0)
你安装Eigen吗?试试这个:
sudo apt-get install libeigen3-dev