Skip to content

doc(windows): update how to handle MSVS 2019#19104

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:docs_cmake_msvs2019
Dec 18, 2020
Merged

doc(windows): update how to handle MSVS 2019#19104
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:docs_cmake_msvs2019

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Dec 14, 2020

@LaurentBerger
Copy link
Copy Markdown
Contributor

LaurentBerger commented Dec 16, 2020

I'm not sure that's ok.

CMAKE_GENERATOR_OPTIONS='-G"Visual Studio 15 2017 Win64"'
cmake $CMAKE_GENERATOR_OPTIONS $CMAKE_OPTIONS \

Error is
CMake Error: Could not create named generator "Visual

Cmake version 3.8.14

for my configuration this is OK

CMAKE_CONFIG_GENERATOR="Visual Studio 15 2017 Win64" 
bis="-G$CMAKE_CONFIG_GENERATOR"
empty=''
cmake "$bis" "$empty" \

I haven't got vs2019 : i cannot test -A option empty='-Ax64' . -A option with VS 2017 give an error
`CMake Error at CMakeLists.txt:107 (enable_language):
Generator

Visual Studio 15 2017 Win64

does not support platform specification, but platform

x64

was specified.
`

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Dec 18, 2020

👍

@opencv-pushbot opencv-pushbot merged commit fa66514 into opencv:3.4 Dec 18, 2020
@alalek alalek mentioned this pull request Dec 18, 2020
@alalek alalek mentioned this pull request Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants