Ask Your Question

Eponymous's profile - activity

2016-06-29 22:53:23 -0600 received badge  Nice Answer (source)
2015-11-08 13:20:25 -0600 commented answer Is OpenCv 3.0 compatible for VS 2015
2015-11-08 13:15:59 -0600 received badge  Editor (source)
2015-11-08 11:35:05 -0600 received badge  Teacher (source)
2015-11-08 09:05:47 -0600 received badge  Necromancer (source)
2015-11-08 09:03:47 -0600 answered a question Is OpenCv 3.0 compatible for VS 2015

I just built OpenCV 3.0 from source on Visual Studio Community 2015 both debug and release x64 on Windows 10:

The key was to check out the version after pull request 5212 was merged: 421e1b237c4c0024f46a9ab06ca23497d8cb2204 This fixes issue 5007: Error in Building OpenCV for Microsoft VS 2015.

The steps were (using MinGW bash shell):

git clone
cd opencv
git checkout 421e1b237c4c0024f46a9ab06ca23497d8cb2204 -b with-vc2015-fix
cmake-gui & # Then set destination dir, configure, configure, generate

Then, open OpenCV.sln in Visual Studio. It will be building the Debug target. Right-click on ALL_BUILD, select build. Wait until it finishes, Go to the CMakeTargets project, Right click on INSTALL and select build. Then, switch to Release mode and repeat the menu selections you did for the Debug target.