Error installing opencv 3 with extra modules

asked 2015-08-31 10:58:45 -0500

Adnane gravatar image

I am trying to install opencv 3 from source and tried to include extra modules in order to use their python bindings I set the varibales OPENV_EXTRA_MODULES_PATH to D:/opencv_extra/modules and press the configure button of the cmake gui and I got this error:

CMake Error at cmake/OpenCVDetectPython.cmake:78 (if): if given arguments:

"NOT" "optimized" "C:/Anaconda/libs/python27.lib"

"debug" "C:/Anaconda/libs/python27_d.lib" "EQUAL" ""

Unknown arguments specified Call Stack (most recent call first):
cmake/OpenCVDetectPython.cmake:219 (find_python) CMakeLists.txt:551 (include)

I am running windows 10 x64 - visual studio 2013 Pro - Anaconda python distribution.

edit retag flag offensive close merge delete



Try to build in release mode.

mshabunin gravatar imagemshabunin ( 2015-08-31 11:35:49 -0500 )edit

I can't even generate the .sln file, how can I build it in release mode ?

Adnane gravatar imageAdnane ( 2015-08-31 11:43:17 -0500 )edit