skeletal_tracker build fails [closed]

asked 2012-05-18 01:05:53 -0600

I m trying to build skeletal_tracker package from kinect demos in ubuntu 12.04and running into following error log:

/opt/ros/fuerte/include/ros/publisher.h:103: 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/fuerte/include/ros/publisher.h:103: undefined reference toros::console::setLogLocationLevel(ros::console::LogLocation, ros::console::levels::Level)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference to ros::console::checkLogLocationEnabled(ros::console::LogLocation*)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference toros::console::print(ros::console::FilterBase, log4cxx::Logger, ros::console::levels::Level, char const, int, char const, char const, ...)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference to ros::console::initialize()' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference toros::console::print(ros::console::FilterBase, log4cxx::Logger, ros::console::levels::Level, char const, int, char const, char const, ...)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference to ros::console::initialize()' CMakeFiles/tracker.dir/src/main.o: In functionros::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/fuerte/include/ros/node_handle.h:241: undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/tracker.dir/src/main.o: In functionros::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/fuerte/include/ros/node_handle.h:241: undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/tracker.dir/src/main.o: In functionmain': /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:373: undefined reference to ros::init(int&, char**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:374: undefined reference toros::NodeHandle::NodeHandle(std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits<char="">, std::allocator<char> >, std::basic_string<char, std::char_traits<char="">, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char="">, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const, std::basic_string<char, std::char_traits<char="">, std::allocator<char> > > > > const&)' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:380: undefined reference to ros::Publisher::~Publisher()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:381: undefined reference toros::Publisher::~Publisher()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:439: undefined reference to ros::NodeHandle::~NodeHandle()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:398: undefined reference toros::package::getPath(std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&)' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:439: undefined reference to ros::NodeHandle::~NodeHandle()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-03-03 01:40:34.978754