Failed to Build image_transport [closed]

asked 2012-03-05 12:36:00 -0500

masoug gravatar image

Hi, I was trying to build image_transport when I got this error:

/home/masoug/ros/image_common/image_transport/src/publisher.cpp:59:943: instantiated from here /usr/include/boost/ptr_container/clone_allocator.hpp:34:27: error: cannot allocate an object of abstract type ‘image_transport::PublisherPlugin’ /home/masoug/ros/image_common/image_transport/include/image_transport/publisher_plugin.h:13:7: note: because the following virtual functions are pure within ‘image_transport::PublisherPlugin’: /home/masoug/ros/image_common/image_transport/include/image_transport/publisher_plugin.h:22:23: note: virtual std::string image_transport::PublisherPlugin::getTransportName() const /home/masoug/ros/image_common/image_transport/include/image_transport/publisher_plugin.h:49:20: note: virtual uint32_t image_transport::PublisherPlugin::getNumSubscribers() const /home/masoug/ros/image_common/image_transport/include/image_transport/publisher_plugin.h:54:23: note: virtual std::string image_transport::PublisherPlugin::getTopic() const /home/masoug/ros/image_common/image_transport/include/image_transport/publisher_plugin.h:59:16: note: virtual void image_transport::PublisherPlugin::publish(const Image&) const /home/masoug/ros/image_common/image_transport/include/image_transport/publisher_plugin.h:72:16: note: virtual void image_transport::PublisherPlugin::shutdown() /home/masoug/ros/image_common/image_transport/include/image_transport/publisher_plugin.h:87:16: note: virtual void image_transport::PublisherPlugin::advertiseImpl(ros::NodeHandle&, const string&, uint32_t, const SubscriberStatusCallback&, const SubscriberStatusCallback&, const VoidPtr&, bool)

Ummm, is this a bug?

Thanks!

-Masoug

edit retag flag offensive reopen merge delete

Closed for the following reason too subjective or argumentative by tfoote
close date 2012-04-08 14:10:21

Comments

1

Please take a look at the guidelines for asking a question (http://www.ros.org/wiki/Support#Guidelines_for_asking_a_question_.28Please_read_before_posting.29), and post some more details so we can better help you with your question.

Dan Lazewatsky gravatar image Dan Lazewatsky  ( 2012-03-05 15:19:28 -0500 )edit