Comments (3)
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 comparingT == 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.
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.
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)
- CMake HOT 1
- Token Login
- Cannot get SPDLOG_VERSION from common.h. HOT 5
- nlohmann/json_fwd.hpp: No such file or directory HOT 4
- Crash on message send
- Build break on BUILD_SHARED_LIBS=off HOT 2
- Shard#0: disconnected. lastheartbeat(1549) lastwsevent(906) lastheartbeatack(90 6) ms ago HOT 6
- Process aborted by std::terminate() HOT 2
- Saying hi ... HOT 6
- Incorrectly structured request causes create_guild_ban to fail HOT 2
- Examples for sharded bots?
- asio and websocket++ update dependencies
- get_messages() has small issue HOT 1
- core::update_presence needs correcting
- I think you can
- Need a title HOT 7
- aegis::guild::member_has_role gives wrong information HOT 2
- bot invites HOT 1
- [Bug] Running into a ratelimit with a custom logger causes segmentation fault
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aegis.cpp.