Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

RGB-D slam fails on catkin_make

$
0
0
Hi, I am trying to make rgbdslam package and when I try catkin_make I get this error: In file included from /home/rover1/catkin_ws/build/rover_slam/rgbdslam/src/moc_graph_manager.cpp:9:0: /home/rover1/catkin_ws/build/rover_slam/rgbdslam/src/../../../../src/rover_slam/rgbdslam/src/graph_manager.h:58:39: fatal error: g2o/core/sparse_optimizer.h: No such file or directory compilation terminated. rover_slam/rgbdslam/CMakeFiles/rgbdslam.dir/build.make:158: recipe for target 'rover_slam/rgbdslam/CMakeFiles/rgbdslam.dir/src/moc_graph_manager.cpp.o' failed make[2]: *** [rover_slam/rgbdslam/CMakeFiles/rgbdslam.dir/src/moc_graph_manager.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed We have installed the g2o package in a directory located in `/home/rover1/rgbd_slam_dep/` I have exported `export G2O_DIR=/home/rover1/rgbd_slam_dep/g2ofork/install` And when we run `env` it appears in the environment list I followed this link https://github.com/felixendres/rgbdslam_v2 It works when use the same directories specified, but when I create my own it fails Would someone please be able to help me with this? Thank you

Viewing all articles
Browse latest Browse all 417

Trending Articles