Skip to content

Cannot build on boost 1.70 #340

Open

Description

@mattn
g++ -std=c++14 -c -I../include -I. helloworld.cpp -o helloworld.o

In file included from ../include/crow.h:7,
                 from helloworld.cpp:1:
../include/crow/socket_adaptors.h: In member function 'boost::asio::io_service& crow::SocketAdaptor::get_io_service()':
../include/crow/socket_adaptors.h:22:28: error: 'boost::asio::ip::tcp::socket' {aka 'class boost::asio::basic_stream_socket<boost::asio::ip::tcp>'} has no member named 'get_io_service'
             return socket_.get_io_service();
                            ^~~~~~~~~~~~~~
../include/crow/app.h:63: confused by earlier errors, bailing out

mingw32-make: *** [Makefile:24: helloworld.o] Error 1

Activity

  1. moneroexamples commented on Jun 29, 2019

    @moneroexamples

    In one of my project's that uses crow, the issue was fixed. Can check here:
    moneroexamples/onion-monero-blockchain-explorer@76a0efa

  2. mattn commented on Jun 29, 2019

    @mattn
    Author

    I confirmed the patch fixes this issue. Thank you.

  3. mattn commented on Jun 29, 2019

    @mattn
    Author

    Could you please send this patch as pull-request?

  4. moneroexamples commented on Jul 1, 2019

    @moneroexamples

    No problem. PR submitted, though I don't expect it being ever merged. The crow project is pretty much dead at this point.

  5. pfeatherstone commented on Jun 6, 2020

    @pfeatherstone

    No problem. PR submitted, though I don't expect it being ever merged. The crow project is pretty much dead at this point.

    Maybe this repo should be maintained on a fork??

  6. mrozigor commented on Jun 6, 2020

    @mrozigor

    I tried, but have no time to create new things right now. But if you want, you can contribute to my fork and then I'll merge changes ;)

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