boost placeholders help

"Hariharan.A.S via Boost-users" <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAAR5v7DWf+UGwCaCwtDj6TQtcqw+J=vV9TSkZardONyGKbFCYg@mail.gmail.com>
Hi,

I am trying to build my catkin workspace for Ros Noetic in my raspberry pi
400 running Buster. I get the following message while building roscpp

Scanning dependencies of target roscpp_generate_messages
Scanning dependencies of target roscpp
[ 31%] Built target roscpp_generate_messages
[ 36%] Building CXX object CMakeFiles/roscpp.dir/src/libros/master.cpp.o
[ 36%] Building CXX object CMakeFiles/roscpp.dir/src/libros/network.cpp.o
[ 36%] Building CXX object CMakeFiles/roscpp.dir/src/libros/subscriber.cpp.o
[ 37%] Building CXX object CMakeFiles/roscpp.dir/src/libros/common.cpp.o
[ 38%] Building CXX object
CMakeFiles/roscpp.dir/src/libros/publisher_link.cpp.o
In file included from
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:32,
                 from
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/src/libros/subscriber.cpp:29:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/publisher.h: In
member function ‘boost::function<void(const
boost::shared_ptr<ros::SubscriberLink>&)>
ros::Publisher::getLastMessageCallback()’:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/publisher.h:174:70:
error: ‘boost::placeholders’ has not been declared
       return boost::bind(&Impl::pushLastMessage, impl_.get(),
boost::placeholders::_1);

^~~~~~~~~~~~
In file included from
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/src/libros/subscriber.cpp:29:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h: In
member function ‘ros::Subscriber ros::NodeHandle::subscribe(const string&,
uint32_t, void (T::*)(M), T*, const ros::TransportHints&)’:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:406:91:
error: ‘boost::placeholders’ has not been declared
     ops.template initByFullCallbackType<M>(topic, queue_size,
boost::bind(fp, obj, boost::placeholders::_1));

               ^~~~~~~~~~~~
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h: In
member function ‘ros::Subscriber ros::NodeHandle::subscribe(const string&,
uint32_t, void (T::*)(M) const, T*, const ros::TransportHints&)’:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:417:91:
error: ‘boost::placeholders’ has not been declared
     ops.template initByFullCallbackType<M>(topic, queue_size,
boost::bind(fp, obj, boost::placeholders::_1));

               ^~~~~~~~~~~~
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h: In
member function ‘ros::Subscriber ros::NodeHandle::subscribe(const string&,
uint32_t, void (T::*)(const boost::shared_ptr<const M>&), T*, const
ros::TransportHints&)’:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:470:73:
error: ‘boost::placeholders’ has not been declared
     ops.template init<M>(topic, queue_size, boost::bind(fp, obj,
boost::placeholders::_1));

 ^~~~~~~~~~~~
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h: In
member function ‘ros::Subscriber ros::NodeHandle::subscribe(const string&,
uint32_t, void (T::*)(const boost::shared_ptr<const M>&) const, T*, const
ros::TransportHints&)’:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:480:73:
error: ‘boost::placeholders’ has not been declared
     ops.template init<M>(topic, queue_size, boost::bind(fp, obj,
boost::placeholders::_1));

 ^~~~~~~~~~~~
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h: In
member function ‘ros::Subscriber ros::NodeHandle::subscribe(const string&,
uint32_t, void (T::*)(M), const boost::shared_ptr<U>&, const
ros::TransportHints&)’:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:533:97:
error: ‘boost::placeholders’ has not been declared
     ops.template initByFullCallbackType<M>(topic, queue_size,
boost::bind(fp, obj.get(), boost::placeholders::_1));

                     ^~~~~~~~~~~~
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h: In
member function ‘ros::Subscriber ros::NodeHandle::subscribe(const string&,
uint32_t, void (T::*)(M) const, const boost::shared_ptr<U>&, const
ros::TransportHints&)’:
/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:544:97:
error: ‘boost::placeholders’ has not been declared
     ops.template initByFullCallbackType<M>(topic, queue_size,
boost::bind(fp, obj.get(), boost::placeholders::_1));

I am not sure how to fix this problem. Any help is much appreciated

Thank you
Hariharan
-- 
Hariharan.A.S

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.