g2o version issue
Hi, all,
I used g2o of this version : https://github.com/RainerKuemmerle/g2o/commit/3a740d8922e524bf832c66aaf5c8f59c70aec604 However, when I catkin build srrg_proslam, I came across the following error:
Errors << srrg_proslam:make /tmp/quickstart_ws/logs/srrg_proslam/build.make.008.log
/tmp/quickstart_ws/devel/.private/srrg_proslam/lib/libsrrg_proslam_map_optimization_library.so: undefined reference to `g2o::OptimizableGraph::addVertex(g2o::OptimizableGraph::Vertex*, g2o::HyperGraph::Data*)'
/tmp/quickstart_ws/devel/.private/srrg_proslam/lib/libsrrg_proslam_map_optimization_library.so: undefined reference to `g2o::OptimizableGraph::addEdge(g2o::OptimizableGraph::Edge*)'
collect2: error: ld returned 1 exit status
make[2]: *** [/tmp/quickstart_ws/devel/.private/srrg_proslam/lib/srrg_proslam/node] Error 1
make[1]: *** [executables/CMakeFiles/node.dir/all] Error 2
make: *** [all] Error 2
cd /tmp/quickstart_ws/build/srrg
It seems my g2o (3a740d8) does not match with the code in srrg_proslam? I also try the most updated version of g2o, but it also does not match with the code. Could you suggest a workable version of g2o for your srrg_proslam?
THX