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

RGBDSLAM error: math_groups/se3quat.h: No such file or directory

asked 2012-12-18 12:56:15 -0500

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

ngrennan gravatar image

Hi guys,

I am still having a problem with running RGBDSLAM on ubuntu 12.04 and fuerte.

I know what my problem is but I cannot resolve it. heres what I did.

I initially downloaded g2o into my workspace /home/samme/fuerte_workspace/trunk/. using the command svn co: However I was getting some errors.

I then removed this file into the rubbish bin and followed the instructions given by this link: I re-downloaded the g2o into home (/home/samme/trunk) by running this command:

svn co

However, when I rosmake, I get this error :

/home/samme/fuerte_workspace/rgbdslam_freiburg/rgbdslam/src/edge.h:22:72: fatal error: /home/samme/fuerte_workspace/trunk/g2o/math_groups/se3quat.h: No such file or directory

The problem is that there is a conflict from my previous svn download. It is still trying to access that file (/home/samme/fuerte_workspace/trunk/g2o/) although I removed it to the rubbish bin.

Any ideas of how to resolve this conflict?

Thanks and best regards,


edit retag flag offensive close merge delete


hi I am new to rgbdslam .my systerm is ubuntu11.10 64bit electric .when i type command"rosmake --rosdep-install rgbdslam" error occured:致命错误: g2o/math_groups/se3quat.h:没有那个文件或目录 it like your i want to know how did you solve your problem.thanks

746666288 gravatar image 746666288  ( 2013-11-04 15:25:36 -0500 )edit

hello, I encountered a similar problem with you.when i type command"rosmake --rosdep-install rgbdslam". i get the error occured:g2o/math_groups/se3quat.h No such file or directory , Can you tell me how to solve this problem? thanks a lot

longzhixi123 gravatar image longzhixi123  ( 2013-12-08 00:46:26 -0500 )edit

It was a really long time so I do not remember the details. However I remember that there was a problem with g2o therefore I uninstalled the ROS g2o package and installing a general g2o. However I do not think this is a good solution and I am sure others have solved this problem in another way.

K_Yousif gravatar image K_Yousif  ( 2013-12-08 12:09:05 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2012-12-18 13:38:31 -0500

I realized I had previously played with the #include in some of the files. I restored it to the default settings. Now I am receiving a different error:

opt/ros/fuerte/include/g2o/core/hyper_graph.h:59:22: error: redefinition of ‘class g2o::HyperGraph’ /home/samme/trunk/g2o/include/g2o/core/hyper_graph.h:46:9: error: previous definition of ‘class g2o::HyperGraph’

It seems that there is a conflict between the g2o that I installed and the one in ros-fuerte. Does anyone know how to uninstall the g2o that is already included in ROS?



edit flag offensive delete link more


Try uninstalling libg2o, if you have it installed, from the ubuntu software center. Remember to use rosmake --pre-clean rgbdslam so that you don't have files from the previous make interfering.

autorover gravatar image autorover  ( 2012-12-22 16:06:41 -0500 )edit

Question Tools

1 follower


Asked: 2012-12-18 12:56:15 -0500

Seen: 530 times

Last updated: Dec 18 '12