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

mit-ros-pkg on groovy

asked 2014-01-22 19:19:04 -0500

chao gravatar image

updated 2014-01-28 17:07:23 -0500

ngrennan gravatar image

hi, this is the error message i got when i rosmake skeletal_tracker

  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::print(ros::console::FilterBase*, log4cxx::Logger*, ros::console::levels::Level, char const*, int, char const*, char const*, ...)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::console::levels::Level)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::initialize()'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::print(ros::console::FilterBase*, log4cxx::Logger*, ros::console::levels::Level, char const*, int, char const*, char const*, ...)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::print(ros::console::FilterBase*, log4cxx::Logger*, ros::console::levels::Level, char const*, int, char const*, char const*, ...)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
  /opt/ros/groovy/include/ros/publisher.h:112: undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
  /opt/ros/groovy/include/ros/publisher.h:102: undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::console::levels::Level)'
  /opt/ros/groovy/include/ros/publisher.h:102: undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
  /opt/ros/groovy/include/ros/publisher.h:102: undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
  CMakeFiles/tracker.dir/src/main.cpp.o: In function `ros::Publisher ros::NodeHandle::advertise<mapping_msgs::PolygonalMap_<std::allocator<void> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, bool)':
  /opt/ros/groovy/include/ros/node_handle.h:241: undefined reference to `ros::NodeHandle::advertise(ros::AdvertiseOptions&)'
  CMakeFiles/tracker.dir/src/main.cpp.o: In function `ros::Publisher ros::NodeHandle::advertise<body_msgs::Skeletons_<std::allocator<void> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, bool)':
  /opt/ros/groovy/include/ros/node_handle.h:241: undefined reference to `ros::NodeHandle::advertise(ros::AdvertiseOptions&)'
  CMakeFiles/tracker.dir/src/main.cpp.o: In function `main':
  /home/chao/catkin_ws/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:372: undefined reference to `ros::init(int&, char**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
  /home/chao/catkin_ws/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:373: undefined reference to `ros::NodeHandle::NodeHandle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits ...
(more)
edit retag flag offensive close merge delete

Comments

Did you manage to get the MIT KinectDemos working on ROS Indigo ?

Cyril Jourdan gravatar image Cyril Jourdan  ( 2015-05-28 08:47:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-17 15:53:29 -0500

Pototo gravatar image

make sure you add catkin/ROS dependencies to you executable:

target_link_libraries(executable ${catkin_LIBRARIES})
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-01-22 19:19:04 -0500

Seen: 344 times

Last updated: Feb 17 '15