ros-drivers / rosserial

A ROS client library for small, embedded devices, such as Arduino. See: http://wiki.ros.org/rosserial
517 stars 525 forks source link

boost/asio/AsyncReadStream get_io_service() removed in boost 1.66 #462

Closed dodsonmg closed 4 years ago

dodsonmg commented 4 years ago

I am building on FreeBSD. The ports tree contains boost 1.72. boost/asio/AsyncReadStream get_io_service() was deprecated in boost 1.66. This causes rosserial_server/async_read_buffer.h to fail to build with a no member named 'get_io_service' based on line 169 of async_read_buffer.h.

Documentation of AsyncReadStream from boost 1.65: https://www.boost.org/doc/libs/1_65_0/doc/html/boost_asio/reference/AsyncReadStream.html

Documentation of AsyncReadStream from boost 1.66 (removing get_io_service): https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/reference/AsyncReadStream.html

mikepurvis commented 4 years ago

Should have been fixed by #468.