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

Error when "rosmake rgbdslam"

asked 2012-11-20 21:20:55 -0500

sai gravatar image

updated 2014-01-28 17:14:19 -0500

ngrennan gravatar image

I have edited the question basing on the first answer.

Ubuntu 12.04 and Fuerte

  1. Followed the wiki and resolved all the dependencies for rgbdslam_freiburg
  2. rosdep install rgbdslam_freiburg


nutan@nutan-HP-EliteBook-8460w:~/fuerte_workspace$ rosmake rgbdslam

The error goes this way........

mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake .. [rosbuild] Building package rgbdslam [rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake [rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake [rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake CMake Error at CMakeLists.txt:57 (find_package): Could not find module Findg2o.cmake or a configuration file for package g2o.

Adjust CMAKE_MODULE_PATH to find Findg2o.cmake or set g2o_DIR to the directory containing a CMake configuration file for g2o. The file will have one of the following names:


Please let me know what should be done..

edit retag flag offensive close merge delete


Please let me know how to solve this issue and get this rgbdslam package into life

sai gravatar image sai  ( 2012-11-20 21:22:57 -0500 )edit

Haha. I think I know the guy who is the owner of the laptop... How is your progress? R u in NTU or I2R currently?

tianb03 gravatar image tianb03  ( 2012-12-19 19:37:01 -0500 )edit

Hi tian, Sorry for late reply, I am good, whats your email id? what do you work on?

sai gravatar image sai  ( 2012-12-21 18:28:26 -0500 )edit

i2r id is btian, we are working on the neural cognitive robot. Recently we are going to play with the rgbdslam and want to apply some new algo to it. Just finishing installation of rgbdslam

tianb03 gravatar image tianb03  ( 2012-12-23 13:31:14 -0500 )edit

3 Answers

Sort by » oldest newest most voted

answered 2012-11-21 22:22:39 -0500

sai gravatar image

TO solve the above problem and also to get the RGBDSLAM package to work.. Follow this link below.

Then go through the first and the third answers and it will work..coz it worked for me..

edit flag offensive delete link more

answered 2012-11-30 17:33:38 -0500

Like you I ran into issues getting rgbdslam running. My setup: Ubuntu 12.04 LTS, x64, ROS Fuerte (installed from packages), rgbdslam from svn (revision 3652). Here's how I got rgbdslam build and running.

The problem I ran into when running rosmake -V rgbdslam_freiburg (-V for verbose output) was that it gave the error: “Could not find module Findg2o.cmake or a configuration file for package g2o”. This is despite running rosdep update && rosdep install rgbdslam_freiburg which installs the ros-fuerte-libg2o dependency package. From what I can see, the latest g2o package is different and puts files in different places.

The solution was to use an older g2o package. If you're also on 64 bit Ubuntu 12.04, you could grab this package from my webserver by running wget Unzip it and install it by going sudo dpkg -i ros-fuerte-libg2o*. Now re-run rosmake and hopefully it will build now!

I ran into another problem when it was linking: “error: undefined reference to 'clock_gettime'". Edit rgbdslam/CMakeLists.txt, and appropriately add “-lrt” in target_link_libraries. After these steps, rgbdslam is working for me.


edit flag offensive delete link more


weird. I wonder why for everyone a different library seems to missing. I added it (in the hope that it's not only because of your username ;-)) in the repository.

Felix Endres gravatar image Felix Endres  ( 2012-12-05 08:56:19 -0500 )edit

answered 2012-11-21 09:06:58 -0500

Unfortunately your post doesn't contain the source of the error. Here's a hint what went wrong:

-- Configuring incomplete, errors occurred!

Maybe /home/nutan/.ros/rosmake/rosmake_output-20121121-172333/rgbdslam/build_output.log contains the actual error message. Otherwise do "roscd rgbdslam" and then "make"

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-11-20 21:20:55 -0500

Seen: 1,628 times

Last updated: Nov 30 '12