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

rgbdslam on electric, compiling error

asked 2012-10-24 01:56:32 -0600

Flavio P. gravatar image

updated 2014-01-28 17:14:02 -0600

ngrennan gravatar image

Hez guys, I am trying to compile rgbdslam following this guide on ROS electric:

eveything goes well, until, when compiling rgbdslam it happens that these errors come out:

[ rosmake ] Packages requested are: ['rgbdslam']                                
[ rosmake ] Logging to directory/home/petrinif/.ros/rosmake/rosmake_output-20121030-121118
[ rosmake ] Expanded args ['rgbdslam'] to:
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .
[ rosmake ] rosdep successfully installed all system dependencies               
[rosmake-0] Starting >>> rosbuild [ make ]                                      
[rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuild
 No Makefile in package rosbuild
[rosmake-0] Starting >>> roslang [ make ]                                       
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang
[rosmake-3] Starting >>> cpp_common [ make ]                                    
[rosmake-3] Finished <<< cpp_common ROS_NOBUILD in package cpp_common           
[rosmake-2] Starting >>> roslib [ make ]                                        
[rosmake-2] Finished <<< roslib ROS_NOBUILD in package roslib                   
[rosmake-1] Starting >>> bullet [ make ]                                        
[rosmake-3] Starting >>> roscpp_traits [ make ]                                 
[rosmake-2] Starting >>> rostime [ make ]                                       
[rosmake-0] Starting >>> xmlrpcpp [ make ]                                      
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime                 
[rosmake-2] Starting >>> rosconsole [ make ]                                    
[rosmake-1] Finished <<< bullet ROS_NOBUILD in package bullet                   
[rosmake-1] Starting >>> std_msgs [ make ]                                      
[rosmake-3] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits     
[rosmake-0] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp               
[rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole           
[rosmake-2] Starting >>> rosgraph [ make ]                                      
[rosmake-0] Starting >>> rosclean [ make ]                                      
[rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs               
[rosmake-0] Finished <<< rosclean ROS_NOBUILD in package rosclean               
[rosmake-2] Finished <<< rosgraph ROS_NOBUILD in package rosgraph               
[rosmake-0] Starting >>> rosparam [ make ]                                      
[rosmake-3] Starting >>> roscpp_serialization [ make ]                          
[rosmake-2] Starting >>> rosgraph_msgs [ make ]                                 
[rosmake-1] Starting >>> rosmaster [ make ]                                     
[rosmake-3] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
[rosmake-0] Finished <<< rosparam ROS_NOBUILD in package rosparam               
[rosmake-2] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs     
[rosmake-3] Starting >>> rosunit [ make ]                                       
[rosmake-1] Finished <<< rosmaster ROS_NOBUILD in package rosmaster             
[rosmake-3] Finished <<< rosunit ROS_NOBUILD in package rosunit                 
[rosmake-0] Starting >>> angles [ make ]                                        
[rosmake-2] Starting >>> roscpp [ make ]                                        
[rosmake-1] Starting >>> rospy [ make ]                                         
[rosmake-0] Finished <<< angles ROS_NOBUILD in package angles                   
[rosmake-2] Finished <<< roscpp ROS_NOBUILD in package roscpp                   
[rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy                     
[rosmake-3] Starting >>> rosnode [ make ]                                       
[rosmake-3] Finished <<< rosnode ROS_NOBUILD in package rosnode                 
[rosmake-0] Starting >>> eigen [ make ]                                         
[rosmake-1] Starting >>> rosout [ make ]                                        
[rosmake-0] Finished <<< eigen ROS_NOBUILD in package eigen                     
[rosmake-1] Finished <<< rosout ROS_NOBUILD in package rosout                   
[rosmake-2] Starting >>> cminpack [ make ]                                      
[rosmake-2] Finished <<< cminpack ROS_NOBUILD in package cminpack               
[rosmake-3] Starting >>> flann [ make ]                                         
[rosmake-0] Starting >>> roslaunch [ make ]                                     
[rosmake-3] Finished <<< flann ROS_NOBUILD in package flann                     
[rosmake-0] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
 No Makefile in package roslaunch
[rosmake-1] Starting >>> pluginlib [ make ]                                     
[rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package pluginlib             
[rosmake-2] Starting >>> bond [ make ]                                          
[rosmake-3] Starting >>> rostest [ make ]                                       
[rosmake-2] Finished <<< bond ROS_NOBUILD in package bond                       
[rosmake-3] Finished <<< rostest ROS_NOBUILD in package rostest                 
[rosmake-0] Starting >>> smclib [ make ]                                        
[rosmake-0] Finished <<< smclib ROS_NOBUILD in package smclib                   
[rosmake-1] Starting >>> opencv2 [ make ]                                       
[rosmake-3] Starting >>> topic_tools [ make ]                                   
[rosmake-0] Starting >>> message_filters [ make ]                               
[rosmake-2] Starting >>> bondcpp [ make ]                                       
[rosmake-0] Finished <<< message_filters ROS_NOBUILD in package message_filters 
[rosmake-3] Finished <<< topic_tools ROS_NOBUILD in package topic_tools         
[rosmake-1] Finished <<< opencv2 ROS_NOBUILD in package opencv2                 
[rosmake-2] Finished <<< bondcpp ROS_NOBUILD in package bondcpp                 
[rosmake-0] Starting >>> g2o [ make ]                                           
[rosmake-3] Starting >>> rosbag [ make ]                                        
[rosmake-2] Starting >>> nodelet [ make ]                                       
[rosmake-3] Finished <<< rosbag ROS_NOBUILD in package rosbag                   
[rosmake-2] Finished <<< nodelet ROS_NOBUILD in package nodelet                 
[rosmake-0] Finished <<< g2o [PASS] [ 0 ...
edit retag flag offensive close merge delete


You're right...same question...sorry. Should I delete mine?

Flavio P. gravatar image Flavio P.  ( 2012-10-24 04:25:45 -0600 )edit

Thanks anyway, that pointed me to the original question, which I now answered. However, in both your cases, the relevant info is missing from your output snippet.

Felix Endres gravatar image Felix Endres  ( 2012-10-24 10:36:18 -0600 )edit

Uhm...i posted it now...can this help? This EIGEN thing is a little bit weird to me...

Flavio P. gravatar image Flavio P.  ( 2012-10-29 23:30:36 -0600 )edit

Please post the complete output. All the warnings listed above are actually expected and normal. The actual error must be somewhere else.

dornhege gravatar image dornhege  ( 2012-10-30 00:28:57 -0600 )edit

Okay..hmm now that's all...

Flavio P. gravatar image Flavio P.  ( 2012-10-30 01:12:43 -0600 )edit

I can get the same message, but without configuration incomplete. Please check the complete log output of the build log: Output from build of package rgbdslam written to: [ rosmake ] /home/petrinif/.ros/rosmake/rosmake_output-20121030-121118/rgbdslam/build_output.log

dornhege gravatar image dornhege  ( 2012-10-30 02:05:37 -0600 )edit

I found some additional information and posted it! Btw, how can I format my post? I am really a newbie here!

Flavio P. gravatar image Flavio P.  ( 2012-10-30 02:40:55 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2012-10-30 05:57:20 -0600

dornhege gravatar image

updated 2012-10-30 05:59:26 -0600

OK, so the problem is that g2o could not be found.

Do you have that in your ROS_PACKAGE_PATH when building? roscd g2o should get you there. If you type make, it should start downloaded files and building g2o.

The problem might be that RGBDSLAMs cmake file only finds this via a cmake script and if you cannot install libg2o on your system that fails.

Adding a <depend package="g2o" /> to RGBDSlam's manifest + removing the find_package(g2o REQUIRED) from CMakeLists.txt should solve this (given g2o builds).

I'm not sure if there is a better cross-distribution way.

edit flag offensive delete link more

answered 2012-11-21 02:15:19 -0600

Flavio P. gravatar image

As a complement to dornege's answer, i would like to point out that by doing what he says I got a "class redefinition error" which did not allowed me to compile. The solution at this problem is to uninstall the libg2o when compiling and installing the g2o package.

edit flag offensive delete link more


This is great..One has to remove the libg2o from the ubuntu software center and do the modifications as mentioned by dornhege in the first answer..and it finally rosmake gives no errors...

sai gravatar image sai  ( 2012-11-21 21:05:27 -0600 )edit

Have a look at Felix' answer. For electric, you'll need to check out the correct revision that should work out of the box.

dornhege gravatar image dornhege  ( 2012-11-21 22:36:14 -0600 )edit

I was using fuerte..

sai gravatar image sai  ( 2012-11-21 22:42:59 -0600 )edit

answered 2012-10-30 11:36:12 -0600

Is it possible that you have not read the preamble on and therefore checked out the fuerte version?

edit flag offensive delete link more


That is very well possible as I also didn't read that and when I tested it now the revision for electric doesn't search g2o via find_package.

dornhege gravatar image dornhege  ( 2012-10-31 01:16:07 -0600 )edit

answered 2012-12-17 12:31:05 -0600

tgaaly gravatar image

updated 2012-12-17 12:54:40 -0600

I followed the steps by installing g2o separately and changing the manifest...etc.

Now when I execute rgbdslam (kinect+rgbdslam.launch) the UI pops up and the rgb and depth feeds are shown.

When I click on space or select "process" from the menu, it crashes.

I get the following error:

================================================================================REQUIRED process [rgbdslam-23] has died!
process has died [pid 16367, exit code -11, cmd /home/asctec/ros_workspace/rgbdslam_freiburg/rgbdslam/bin/rgbdslam __name:=rgbdslam __log:=/home/asctec/.ros/log/ec9ae076-48a9-11e2-af27-000e8e31444e/rgbdslam-23.log].
log file: /home/asctec/.ros/log/ec9ae076-48a9-11e2-af27-000e8e31444e/rgbdslam-23*.log
Initiating shutdown!

the log file is not saved so im not sure whats going on under the hood.

Does anyone know why this happens?

edit flag offensive delete link more


This is a different problem. Please open a new question instead of posting an answer. In that case also provide a backtrace for the segfault.

dornhege gravatar image dornhege  ( 2012-12-18 02:24:08 -0600 )edit

fixed this issue. the feature extractor and detector were set to SIFTGPU in the kinect+rgbdslam.launch file. and since I dont have a GPU I switched this to SURF and it doesnt crash anymore

tgaaly gravatar image tgaaly  ( 2012-12-18 19:33:41 -0600 )edit

Question Tools



Asked: 2012-10-24 01:56:32 -0600

Seen: 1,627 times

Last updated: Dec 17 '12