Ask Your Question
0

Installation Problems: BUILD_NEW_PYTHON_SUPPORT

asked 2013-12-23 18:29:12 -0600

aaron gravatar image

updated 2013-12-23 18:31:01 -0600

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-12-23 18:41:38 -0600

Guanta gravatar image

updated 2013-12-23 18:42:17 -0600

The option is called BUILD_opencv_python (upper/lower case doesn't matter afaik). You can figure out all available build options using "ccmake" (the curser interface of cmake) or "cmake-gui" instead of just "cmake".

edit flag offensive delete link more

Comments

Thanks this works

aaron gravatar imageaaron ( 2014-01-06 19:41:18 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-12-23 18:29:12 -0600

Seen: 2,965 times

Last updated: Dec 23 '13