Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

building opencv3 for python in windows,

Hi,

I'm trying to build opencv3 on my windows 7 system using Visual Studio 2012 using this reference: http://docs.opencv.org/trunk/doc/py_tutorials/py_setup/py_setup_in_windows/py_setup_in_windows.html

I'm using Anaconda Python 2.7 and do not have any other version of Python installed. When I ran CMake on windows, I couldn't find everything related to Python as was described in the reference, so I manually created the ones I could't find with appropriate names and values. These were in the C:/Anaconda folder for me instead of the usual C:/Python27 folder. Of the ones I manually entered, the following were not generated by CMake. This is the error I get:

Configuring done
Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_opencv_bioinspired
BUILD_opencv_contrib
BUILD_opencv_legacy
BUILD_opencv_softcascade
PYTHON_INCLUDE_DIR
PYTHON_LIBRARY

I have no prior experience with building packages but desperately need openCV3 for my project. I'd be thankful if someone could point me in the right direction and tell me what I need to do next to fix this.

Thanks