You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
‘class boost::asio::ip::basic_resolver<boost::asio::ip::udp> has no member named ‘get_io_service’ #905
I've downloaded cpp-netlib. I'm using libboost version 1.83.0. When I run make, I get the following
~/src/cpp-netlib/libs/network/test/http/client_get_test.cpp:82:3: required from ‘void HTTPClientTest_PropagatesResolutionErrorsTest_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = boost::network::http::basic_client<boost::network::http::tags::http_default_8bit_tcp_resolve, 1, 1>]’
~/src/cpp-netlib/libs/network/test/http/client_get_test.cpp:76:1: required from here
~/src/cpp-netlib/boost/network/protocol/http/client/connection/async_base.hpp:59:18: error: ‘boost::network::http::impl::async_connection_base<boost::network::http::tags::http_default_8bit_tcp_resolve, 1, 1>::resolver_type’ {aka ‘class boost::asio::ip::basic_resolverboost::asio::ip::tcp’} has no member named ‘get_io_service’
Activity
gaohoward commentedon Sep 18, 2024
I saw the same issue. the get_io_service() has been removed from later boost lib. Look in to the CMakefile it seems to require boost 1.58.0 .