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

Revision history [back]

click to hide/show revision 1
initial version

While this isn't exactly a solution, it does provide a different error, which perhaps someone can find easier to troubleshoot. I found that the conflict was between two classes with the same name, one in ~/Fuerte/sandbox/g2o/include/g2o/core/, and the other was in /opt/ros/fuerte/include/g2o/core/. I'm not sure how there came to be two folders so similar in different locations, but I did install g2o more than once, so either that or the ROS file structure could be the issue. I renamed the folder in /opt/ros/fuerte/include/g2o to g3o (or something else) and got multiple errors similar to graph_manager.cpp:(.text._ZN3g2o11BlockSolverINS_17BlockSolverTraitsILi6ELi3EEEE5solveEv[g2o::BlockSolver<g2o::BlockSolverTraits<6, 3> >::solve()]+0x1176): undefined reference to g2o::globalStats It seems that this issue could be related to the position of #ifndef and #endif in the batch_stats.h file, which is where globalStats is defined, but I'm still figuring out how to solve that.