-
Notifications
You must be signed in to change notification settings - Fork 461
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
Wrong compiler platform selected with Visual Studio 16 2019 kit #964
Comments
Are you sure about the line: |
@johannesstricker Could you, please, provide the Debug Console output and your Generator settings. |
I am not reproducing. Can you attach a standalone repro? |
@andreeis I don't think it will repro with Ninja, but it should with the Visual Studio generator. @johannesstricker, using Ninja as your generator might also be a workaround. |
CMake Tools 1.4.0 Beta is available on GitHub. Please try it out and let us know if you encounter any issues. |
This fix is available in CMake Tools #1.4.0 which has been released. |
Brief Issue Summary
The automatically detected kit for Visual Studio 16 2019 for the x86 platform incorrectly uses the x64 compiler. This can be fixed by adding
"platform": "Win32"
to the kit configuration incmake-tools-kits.json
and changing"visualStudioArchitecture"
from"x86"
to"Win32"
.Expected:
Visual Studio 16 2019 - x86
kitApparent Behavior:
Fix:
Open the
cmake-tools-kits.json
and changeto
Platform and Versions
The text was updated successfully, but these errors were encountered: