-
Notifications
You must be signed in to change notification settings - Fork 67
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
[Bug] Build breaks with boost-libs-1.87.0: fatal error: 'boost/asio/io_service.hpp' file not found #475
Comments
It's recommended to build via vcpkg so that the dependency version could be consistent with the tests. Boost might introduce breaking changes so that it's hard to maintain code compatibility with all versions. Currently the tested version is 1.83: Line 16 in fca3827
I tried upgrading the dependency to 1.86 before but the PR is drafted due to my lack of time recently: Line 16 in fca3827
|
Ports/packages can't do this. They always use other packages as dependencies. |
Sorry I don't understand it. Did you mean your project depends on Boost 1.87 so that the version is pinned? BTW, it's acceptable to support latest Boost version. I tried upgrading Boost to 1.86 before (#459) but it's not in progress now due to lack of time. |
The version is pinned because only one boost version can be installed in the system at any given time. |
Can boost compatibility be fixed? |
Yes, but I'm busy recently. It should not be a hard job, let me try today. |
I just tried 1.87. There are many API changes not only just the |
As a workaround, you can add Asio (not Boost.Asio) directly into your project and build with |
I drafted a PR (#477) but might not have time addressing failed tests (if possible) next week. |
Search before asking
Version
Version: 3.7.0
clang-19
FreeBSD 14.2
Minimal reproduce step
n/a
What did you expect to see?
n/a
What did you see instead?
n/a
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: