Install OpenCV from source using Visual Studio 2015

asked 2016-07-27 11:27:52 -0600

Jeremy Gamet gravatar image

updated 2016-07-27 13:49:12 -0600

Is it possible to install OpenCV from source using VS 2015? CMake doesn't appear to have a specific version to support 2015.

I tried to point it to a specific compiler on system...

image description

I've tried to adopt the existent instructions on the OpenCV site and I'm getting nowhere. Am I just out of luck unless I have different versions of things?

CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 12 Win64". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Could not find cmake module file: C:/Users/GametJD/Documents/installed/OpenCV/CMakeFiles/2.8.12.1/CMakeCXXCompiler.cmake CMake Error: Could not find cmake module file: C:/Users/GametJD/Documents/installed/OpenCV/CMakeFiles/2.8.12.1/CMakeCCompiler.cmake Configuring incomplete, errors occurred!

edit retag flag offensive close merge delete

Comments

1

for various reasons, please replace your screenshot with a text version of your errors

berak gravatar imageberak ( 2016-07-27 11:45:11 -0600 )edit
1

Your cmake is too old (2.8) while opencv and vs are new. This may cause a lot of errors. You should update cmake to its latest version and try again.

tuannhtn gravatar imagetuannhtn ( 2016-07-27 21:00:54 -0600 )edit