Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python Installation Problems

I am running Ubuntu 12.04 and trying to install OpenCV 2.4.7 with Python Support. I have installed all the required libraries and issued this cmake command:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..

Everything compiles correctly except I get this warning:

CMake Warning: Manually-specified variables were not used by the project:

BUILD_NEW_PYTHON_SUPPORT

Because of this when I run make and make install, the correct Python files aren't generated correctly. I was wondering if anyone would know what is going on.

Thanks for the help, Aaron

Python Installation ProblemsProblems: BUILD_NEW_PYTHON_SUPPORT

I am running Ubuntu 12.04 and trying to install OpenCV 2.4.7 with Python Support. I have installed all the required libraries and issued this cmake command:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..

Everything compiles correctly except I get this warning:

CMake Warning: Manually-specified variables were not used by the project:

BUILD_NEW_PYTHON_SUPPORT

Because of this when I run make and make install, the correct Python files aren't generated correctly. I was wondering if anyone would know what is going on.

Thanks for the help, Aaron