-
Notifications
You must be signed in to change notification settings - Fork 988
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] Installation of Visual Studio 2022 Preview breaks VCVars generator #16239
Comments
Hi @rconde01 I think this is the result of the breaking change that Microsoft did to the MSVC versioning: https://devblogs.microsoft.com/cppblog/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10/ This should be fixed in #15588, which is intended for the next Conan 2.3.1 soon. It would be great if you can run it from source and test if it is looking good. |
This should be closed in #15588 for 2.3.1 |
I have the same problem.
Now, I've only Visual Studio 2022 and Conan 2.4.1 Could you help me what I can do here? |
@FTamas77 this could be a different issue. The Please report a new ticket, first reporting:
That might solve the boost building issue (there is already a fix for that in the boost recipe, will hopefully be merged soon) |
I am facing the same problem and I could workaround this by building this in a machine that did not yet update Visual Studio. So, yes. I verify this is the reason. However, as you mention, the boost recipe is still broken. So here I ask the question. What should be done there in the boost recipe to fix this? If you explain me, I can try to foster this change myself. Thanks in advance for the support. |
The boost recipe was fixed already. Making sure to clean the cache with If it doesn't work, it might be a different issue, and it would be better to do a new ticket with further details to reproduce. |
I can confirm that running By the way, it is boost 1.71.0 recipe the one I am always talking about. |
Yes, the new VS 17.10 update for VS 2022 defines 14.4 toolset version and 194X as new compiler versions, it is totally expected and necessary to have conan profile define |
Just as an FYI, altenatively you can install the 17.39 toolset via the visual studio installer and then use 17.10 + v193 |
Describe the bug
Windows 11
Visual Studio 2022
Conan 2.3
How to reproduce it
The text was updated successfully, but these errors were encountered: