Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV-Python build problem in Windows with Master branch

Hi,

I am trying to build OpenCV master branch with Visual Studio 2010 and Python support. But CMake always shows:

Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is exact version "2.7.3")

So python is disabled automatically. Below image shows Python fields in Cmake gui.

image description

All fields are filled here. And I couldn't find a field with PYTHON_INCLUDE_DIRS anywhere.

So what goes wrong here?

OpenCV-Python build problem in Windows with Master branch

Hi,

I am trying to build OpenCV master branch with Visual Studio 2010 and Python support. But CMake always shows:

Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is exact version "2.7.3")

So python is disabled automatically. Below image shows Python fields in Cmake gui.

image description

All fields are filled here. And I couldn't find a field with PYTHON_INCLUDE_DIRS anywhere.

So what goes wrong here?

OpenCV-Python build problem in Windows with Master branch

Hi,

I am trying to build OpenCV master branch with Visual Studio 2010 and Python support. But CMake always shows:

Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is exact version "2.7.3")

So python is disabled automatically. Below image shows Python fields in Cmake gui.

image description

All fields are filled here. And I couldn't find a field with PYTHON_INCLUDE_DIRS anywhere.PYTHON_INCLUDE_DIRS anywhere. Also, BUILD_opencv_python is also missing.

So what goes wrong here?