GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ‘class boost::asio::ip::basic_resolver<boost::asio::ip::udp> has no member named ‘get_io_service’ · Issue #905 · cpp-netlib/cpp-netlib

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

New issue
Copy link
New issue
Copy link
Open
Open
‘class boost::asio::ip::basic_resolver<boost::asio::ip::udp> has no member named ‘get_io_service’#905
Copy link

Description

@hashemjan
hashemjan
opened on Jan 18, 2024
Issue body actions

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?

Activity

  1. gaohoward commented on Sep 18, 2024

    @gaohoward
    gaohoward
    on Sep 18, 2024
    More actions

    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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.