Ask Your Question

Revision history [back]

Strange error.

Just an idea: it sounds like it could be a dependency problem. Rgbdslam does not explicitly dependend on ros::console::print. It is probably included indirectly on some machine but not on yours, so you need to explicitly state that you want to link it.

Try adding rosconsole to rgbdslam's linker dependencies in CMakeLists.txt, e.g.

find_package(catkin REQUIRED COMPONENTS pcl_conversions pcl_ros roscpp octomap_server image_transport cv_bridge sensor_msgs geometry_msgs visualization_msgs std_msgs tf message_generation message_filters rosbag rosconsole)

I don't have the error, so I cannot check whether it solves your problem. Please let me know.