CCNYRoboticsLab / ccny_rgbd_tools

ccny_rgbd_tools
GNU Lesser General Public License v3.0
125 stars 76 forks source link

ccny_rgbd/libccny_rgbd_mapping should be linked with g2o_stuff #3

Closed pavel-kirienko closed 11 years ago

pavel-kirienko commented 11 years ago
target_link_libraries(ccny_rgbd_mapping
  boost_regex
  cholmod
  g2o_core
  g2o_solver_cholmod
  g2o_solver_csparse
  g2o_types_slam3d
  g2o_stuff)

Otherwise there is undefined symbol appearing in keyframe_mapper_node:

  Linking CXX executable ../bin/keyframe_mapper_node
  ../lib/libccny_rgbd_mapping.so: error: undefined reference to 'g2o::writeCCSMatrix(char const*, int, int, int const*, int const*, double const*, bool)'
  collect2: ld returned 1 exit status
idryanov commented 11 years ago

Done.

Thank you for the patch.