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

juandhv's profile - activity

2013-07-24 00:22:06 -0500 received badge  Teacher (source)
2013-07-23 03:00:05 -0500 answered a question trouble compiling rospackage with g2o

G2O_INCLUDE_DIRS is not defined previously, as mention. So, we have corrected as follows:

SET(G2O_LIBS g2o_cli g2o_ext_freeglut_minimal g2o_simulator g2o_solver_slam2d_linear g2o_types_icp g2o_types_slam2d g2o_core g2o_interface g2o_solver_csparse g2o_solver_structure_only g2o_types_sba g2o_types_slam3d g2o_csparse_extension g2o_opengl_helper g2o_solver_dense g2o_stuff g2o_types_sclam2d g2o_viewer g2o_ext_csparse g2o_parser g2o_solver_pcg g2o_types_data g2o_types_sim3 cxsparse )

rosbuild_add_executable(g2o_mvm src/g2o_mvm.cpp) target_link_libraries(g2o_mvm ${G2O_LIBS})

In ubuntu, g2o can be installed directly from the repository (ros-<distro>-libg2o), however we have built it from the source code.