Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

‘class boost::asio::ip::basic_resolver<boost::asio::ip::udp> has no member named ‘get_io_service’ #905

Open
hashemjan opened this issue Jan 18, 2024 · 0 comments

Comments

@hashemjan
Copy link

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’

59 | resolver.get_io_service(), https, always_verify_peer,
| ~~~~~~~~~^~~~~~~~~~~~~~

~/src/cpp-netlib/boost/network/protocol/http/client/connection/async_base.hpp: In instantiation of .....

Is this a known issue? How can I resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant