I have seen a lot of posts on this topic, however I have not found regarding this warning:
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_PYTHON_SUPPORT
when I compile with cmake. When building OpenCV with this warning, it turns out that it doesn't include python support (surprise).
I use this command to compile the build-files
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
I have installed python-dev.
Figure 2: The output of CMake looks good — OpenCV 3.0 will compile with Python 2.7 bindings using the Python interpreter and NumPy package associated with our virtual environment.
It is used for a very wide range of applications, including medical image analysis, stitching street view images, surveillance video, detecting and recognizing faces, tracking moving objects, extracting 3D models, and much more.
It looks like you're using an old install guide. Use BUILD_NEW_PYTHON_SUPPORT
instead.
So, execute CMake like this:
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
Also, if you use the CMake GUI, it is easier to see all of the options you can set for OpenCV (there are so many it's quite tedious to type them all on the command-line). To get it for Ubuntu, do this:
sudo apt-get install cmake-qt-gui
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With