Hi all,
I am trying to compile
naoqi_libqi but am running into some errors.
System information:
OS: Ubuntu 22.04
ROS version: ROS2 Humble
Boost Version: 1.74 (Installed along with ROS from apt)
gcc version: 11.2.0
#include <boost/bind.hpp>
using namespace boost::placeholders;
After that I am getting a new error potentially regarding reading and writing from boost::asio streams:
/home/user/pepper_ws/src/libqi/src/messaging/tcpmessagesocket.hpp:413:20: required from here
/usr/include/boost/asio/impl/read.hpp:482:53: error: no type named ‘executor_type’ in ‘class qi::sock::SocketWithContext<qi::sock::NetworkAsio>’
482 | typedef typename AsyncReadStream::executor_type executor_type;
| ^~~~~~~~~~~~~
.
.
.
/home/user/pepper_ws/src/libqi/src/messaging/tcpmessagesocket.hpp:648:8: required from here
/usr/include/boost/asio/impl/write.hpp:447:54: error: no type named ‘executor_type’ in ‘class qi::sock::SocketWithContext<qi::sock::NetworkAsio>’
447 | typedef typename AsyncWriteStream::executor_type executor_type;
| ^~~~~~~~~~~~~
I couldn't find much on the internet from this issue so any help is appreciated.
Thanks and Regards,
Vignesh Prasad