Skip to content
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.77.0: cannot build with VS 2022 #11605

Closed
thejohnfreeman opened this issue Jul 8, 2022 · 1 comment
Closed

[package] boost/1.77.0: cannot build with VS 2022 #11605

thejohnfreeman opened this issue Jul 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@thejohnfreeman
Copy link
Contributor

thejohnfreeman commented Jul 8, 2022

Package and Environment Details

  • Package Name/Version: boost/1.77.0
  • Operating System+version: Windows 10
  • Compiler+version: VS 2022
  • Conan version: conan 1.50.0
  • Python version: Python 3.10.2

Conan profile

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=17
build_type=Release
compiler.runtime=MT
[options]
[conf]
[build_requires]
boost*: b2/4.7.1
[env]

Steps to reproduce

I am using the "x64 Native Tools Command Prompt for VS 2022" shell.

conan install boost/1.77.0@ --build missing

Logs

Here is a log from before I added boost*: b2/4.7.1 to my profile [build_requires], when it was using b2/4.8.0 from the Boost recipe. The log after my change is basically the same, just with a different version of b2.

I found #9047 reporting that Boost could not be built after the release of VS 2022 with the old b2/4.5.0 it used in its recipe. That was fixed in #9069 by updating the build requirement to b2/4.7.1, and @conan-center-bot reported that it worked with all version of Boost back to 1.69.0. Since then, the build requirement has changed to b2/4.8.0. I have tried both 4.8.0 and 4.7.1 (by editing the [build_requires] in my profile, as seen above), and neither work.

I have seen #10644 and #10135, but those are not the issue I'm having.

I can build boost/1.78.0 with my profile just fine.

@thejohnfreeman thejohnfreeman added the bug Something isn't working label Jul 8, 2022
@thejohnfreeman
Copy link
Contributor Author

thejohnfreeman commented Jul 8, 2022

I was able to install boost/1.77.0 with VS 2022 by changing compiler.toolset=v142, but that's only because it was able to download a binary package. I would still call this a bug. I still cannot build Boost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant