-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] boost/1.86.0: Linkage error for boost::fibers::context with MSVC on Windows #25888
Comments
Maybe it's caused by missing compiler.standard in your host profile? |
Tried with New profile
I've also tried to make the build profile match the host profile by adding |
conan-center-index/recipes/boost/all/conanfile.py Lines 560 to 562 in 8f87c61
Turns out when MSVC is detected, fiber is exempt from building. However, the issue that was mentioned has already been fixed upstream: boostorg/fiber#314 |
@SidneyCogdill THank you for detailing the case. The hotfix is not included yet in Boost release, is mapped to 1.87.0. Still, I'll update the validation to consider build_compiler only and validate it locally. |
Description
on Windows with MSVC, boost fibers has linkage errors and can't be used properly.
MinGW doesn't have this issue. The prebuilt windows binaries (that works with MSVC) don't have this issue either.
The issue is not that Boost can't be built by conan, or that linkage error occurs when building the Boost itself.
Package and Environment Details
conan
was installed frompipx
, a different version of Python might be used inside of the isolated environment)Conan profile
cmake-conan was used
Grabbed from CMake output:
Steps to reproduce
https://github.com/conan-io/cmake-conan was used to automatically trigger conan when running CMake.
conanfile.py
CMakeLists.txt
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: