Compilation error while compiling nodelet library
Hello All,
I am have written a nodelet. While compiling I am getting the following error.
In file included from /usr/include/boost/bind.hpp:22:0,
from /opt/ros/kinetic/include/ros/publisher.h:35,
from /opt/ros/kinetic/include/ros/nodehandle.h:32,
from /opt/ros/kinetic/include/ros/ros.h:45,
from /home/swahana/Murali/catkinwsnodelets/src/uugetpointcloud/src/getpointcloudnode.cpp:7:
/usr/include/boost/bind/bind.hpp: In instantiation of âstruct boost::bi::resulttraits<boost::bi::unspecified, void (uugetpointcloud::pointcloud::)(const boost::sharedptr<const sensormsgs::Imagestd::allocator<void > >&, const boost::sharedptr > >&, const boost::sharedptr<const sensormsgs::CameraInfostd::allocator<void > >&, const boost::sharedptr > >&)>â:
/usr/include/boost/bind/bind.hpp:883:48: required from âclass boost::bi::bindt<boost::bi::unspecified, void (uuget_pointcloud::pointcloud::)(const boost::sharedptr<const sensormsgs::Imagestd::allocator<void > >&, const boost::sharedptr > >&, const boost::sharedptr<const sensormsgs::CameraInfostd::allocator<void > >&, const boost::sharedptr > >&), boost::bi::list4boost::arg<1, boost::arg<2>, boost::arg<3>, boost::arg<4> > >â
/home/swahana/Murali/catkinwsnodelets/src/uugetpointcloud/src/getpointcloudnode.cpp:104:77: required from here
/usr/include/boost/bind/bind.hpp:69:37: error: âvoid (uugetpointcloud::pointcloud::*)(const boost::sharedptr > >&, const boost::sharedptr<const stereomsgs::DisparityImagestd::allocator<void > >&, const boost::sharedptr > >&, const boost::sharedptr<const sensormsgs::CameraInfostd::allocator<void > >&)â is not a class, struct, or union type
typedef typename F::resulttype type;
anybody out there can give me some Idea about the possible problem.
Thanks in advance
Comments