Ask Your Question

zrataza's profile - activity

2013-01-02 12:48:34 -0500 received badge  Popular Question (source)
2013-01-02 12:48:34 -0500 received badge  Notable Question (source)
2013-01-02 12:48:34 -0500 received badge  Famous Question (source)
2012-03-20 12:06:04 -0500 asked a question skeletal tracker error nifun diamondback

Hi,

I can't seem to figure out how to solve this error. I'm a linux newb so if the steps are exact, I will appreciate it. Like run this: lol

{------------------------------------------------------------------------------- /home/winlab/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:173: instantiated from here /usr/include/c++/4.4/ext/new_allocator.h:105: error: cannot allocate an object of abstract type ‘mapping_msgs::PolygonalMap_<std::allocator<void> >’ /opt/ros/cturtle/stacks/motion_planning_common/mapping_msgs/msg_gen/cpp/include/mapping_msgs/PolygonalMap.h:21: note: since type ‘mapping_msgs::PolygonalMap_<std::allocator<void> >’ has pure virtual functions In file included from /usr/include/c++/4.4/vector:69, from /usr/include/log4cxx/spi/appenderattachable.h:27, from /usr/include/log4cxx/helpers/appenderattachableimpl.h:27, from /usr/include/log4cxx/logger.h:26, from /opt/ros/diamondback/stacks/ros_comm/tools/rosconsole/include/ros/console.h:41, from /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/ros.h:40, from /home/winlab/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:23: /usr/include/c++/4.4/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_vector_base<_tp,="" _alloc="">::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = mapping_msgs::PolygonalMap_<std::allocator<void> >, _Alloc = std::allocator<mapping_msgs::polygonalmap_<std::allocator<void> > >]’: /usr/include/c++/4.4/bits/stl_vector.h:741: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = mapping_msgs::PolygonalMap_<std::allocator<void> >, _Alloc = std::allocator<mapping_msgs::polygonalmap_<std::allocator<void> > >]’ /home/winlab/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:173: instantiated from here /usr/include/c++/4.4/bits/vector.tcc:306: error: cannot allocate an object of abstract type ‘mapping_msgs::PolygonalMap_<std::allocator<void> >’ /opt/ros/cturtle/stacks/motion_planning_common/mapping_msgs/msg_gen/cpp/include/mapping_msgs/PolygonalMap.h:21: note: since type ‘mapping_msgs::PolygonalMap_<std::allocator<void> >’ has pure virtual functions /usr/include/c++/4.4/bits/vector.tcc:306: error: cannot declare variable ‘__x_copy’ to be of abstract type ‘mapping_msgs::PolygonalMap_<std::allocator<void> >’ /opt/ros/cturtle/stacks/motion_planning_common/mapping_msgs/msg_gen/cpp/include/mapping_msgs/PolygonalMap.h:21: note: since type ‘mapping_msgs::PolygonalMap_<std::allocator<void> >’ has pure virtual functions In file included from /usr/include/c++/4.4/vector:64, from /usr/include/log4cxx/spi/appenderattachable.h:27, from /usr/include/log4cxx/helpers/appenderattachableimpl.h:27, from /usr/include/log4cxx/logger.h:26, from /opt/ros/diamondback/stacks/ros_comm/tools/rosconsole/include/ros/console.h:41, from /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/ros.h:40, from /home/winlab/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:23: /usr/include/c++/4.4/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<<anonymous> >::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = mapping_msgs::PolygonalMap_<std::allocator<void> >, _ForwardIterator = mapping_msgs::PolygonalMap_<std::allocator<void> >, bool <anonymous> = false]’: /usr/include/c++/4.4/bits/stl_uninitialized.h:117: instantiated from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = mapping_msgs::PolygonalMap_<std::allocator<void> >, _ForwardIterator = mapping_msgs::PolygonalMap_<std::allocator<void> >]’ /usr/include/c++/4.4/bits/stl_uninitialized ...

(more)