Coder Social home page Coder Social logo

Comments (3)

Warpten avatar Warpten commented on August 23, 2024

Managed to get it to build successfully with Boost.Asio. This also unfortunately required changes on websocketpp's side:

  • Plugging its error system into boost instead of std.
  • Removing multiple calls to lib::ref(*m_io_service) or similar variants to avoid issues within Boost pertaining to comparing T == std::reference_wrapper<T>

Integrating Boost seems ... Daunting. Could be that websocketpp's code depends on an ancient boost version; from a quick glance at their CMakeLists, it appears to be at most 1.39.

from aegis.cpp.

zeroxs avatar zeroxs commented on August 23, 2024

I use VS and do not use PCH so I'm not sure where the missing headers are. As for using Boost.Asio, it was never my intent to support it over standalone. If someone would like to PR a way to use both, I'd accept it. Your example of it not working well in 1.74 is exactly why I don't use it. I only need Asio so I went for standalone.

from aegis.cpp.

Warpten avatar Warpten commented on August 23, 2024

Sure, I just didn't feel like pulling standalone Asio when I already had Boost in my dependency tree :)

I saw you had a ticket open to update deps on Asio and websocketpp, I unfortunately cannot help in that regard since I've only started using Asio fairly recently ... No idea where I'd need to plug executors in Aegis

from aegis.cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.