ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Error while running ORB_SLAM2 as a ROS node

asked 2017-08-02 01:24:04 -0500

user_123 gravatar image

Following the tutorial provided in this link, I am trying to run ORB_SLAM as a ROS node in ROS Indigo. After executing the line /.build_ros.sh, I am facing a list of errors,

/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

I am unable to get rid of these problem, if someone has faced the same, please help. Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-11-26 16:01:24 -0500

tfoote gravatar image

You do not appear to have the build dependency Eigen installed on your system. Or else it's not in your include_dirs argument.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-08-02 01:24:04 -0500

Seen: 450 times

Last updated: Nov 26 '17