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

fix Visual Studio 16 2019 generator #4707

Closed
3 tasks done
SSE4 opened this issue Mar 10, 2019 · 0 comments · Fixed by #4708
Closed
3 tasks done

fix Visual Studio 16 2019 generator #4707

SSE4 opened this issue Mar 10, 2019 · 0 comments · Fixed by #4708

Comments

@SSE4
Copy link
Contributor

SSE4 commented Mar 10, 2019

follow up on #4233
from @wumo
https://cmake.org/cmake/help/v3.14/generator/Visual%20Studio%2016%202019.html

tried with cmake-3.14.0-rc4 and got errors like:

1> [CMake] CMake Error: Could not create named generator Visual Studio 16 2019 Win64
1> [CMake] 
1> [CMake] Generators
1> [CMake] * Visual Studio 16 2019        = Generates Visual Studio 2019 project files.
1> [CMake]                                  Use -A option to specify architecture.
1> [CMake]   Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
1> [CMake]                                  Optional [arch] can be "Win64" or "ARM".
1> [CMake]   Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
1> [CMake]                                  Optional [arch] can be "Win64" or "ARM".
It seems that we cannot use Visual Studio 16 2019 Win64. Only Visual Studio 16 2019 -A x64 is valid.Cmake Doc:Visual Studio 16 2019

To help us debug your issue please explain:

  • I've read the CONTRIBUTING guide.
  • I've specified the Conan version, operating system version and any tool that can be relevant.
  • I've explained the steps to reproduce the error or the motivation/use case of the question/suggestion.
@SSE4 SSE4 changed the title tried with cmake-3.14.0-rc4 and got errors like: 1> [CMake] CMake Error: Could not create named generator Visual Studio 16 2019 Win64 1> [CMake] 1> [CMake] Generators 1> [CMake] * Visual Studio 16 2019 = Generates Visual Studio 2019 project files. 1> [CMake] Use -A option to specify architecture. 1> [CMake] Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files. 1> [CMake] Optional [arch] can be "Win64" or "ARM". 1> [CMake] Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files. 1> [CMake] Optional [arch] can be "Win64" or "ARM". It seems that we cannot use Visual Studio 16 2019 Win64. Only Visual Studio 16 2019 -A x64 is valid.Cmake Doc:Visual Studio 16 2019 fix Visual Studio 16 2019 generator Mar 10, 2019
@lasote lasote added this to the 1.14 milestone Mar 11, 2019
@ghost ghost removed the stage: review label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants