Getting errors using installOCV.sh script
I tried to follow instruction from http://docs.opencv.org/master/d3/d52/... to install OpenCV on Windows 10 machine with Visual Studio 15.3.3 and CMake 3.9.1. Unfortunately the script failed with the following error:
$ ./installOCV.sh
clonning opencv
Cloning into 'opencv'...
remote: Counting objects: 211161, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 211161 (delta 0), reused 0 (delta 0), pack-reused 211155
Receiving objects: 100% (211161/211161), 430.55 MiB | 8.55 MiB/s, done.
Resolving deltas: 100% (146155/146155), done.
Checking out files: 100% (5407/5407), done.
clonning opencv_contrib
Cloning into 'opencv_contrib'...
remote: Counting objects: 22145, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 22145 (delta 2), reused 8 (delta 2), pack-reused 22137
Receiving objects: 100% (22145/22145), 119.49 MiB | 8.42 MiB/s, done.
Resolving deltas: 100% (13216/13216), done.
/c/OpenCV-Build/UsingGitBash/lib/build/opencv /c/OpenCV-Build/UsingGitBash/lib
CMake Error at CMakeLists.txt:114 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
Any help is appreciated
What is Visual Studio 15.3.3 ? you must set CMAKE_CONFIG_GENERATOR CMAKE_CONFIG_GENERATOR="Visual Studio 14 2015 Win64"
with vs 2015 (64 bits)
CMAKE_CONFIG_GENERATOR="Visual Studio 15 2017 Win64"
with vs 2017 64 bits
Where is cmakeoutput?
No problem with vs2015 and vs2017
Thanks, that worked! I need to check few things. Will post later if I'm still seeing issues.