How to build OpenCV libraries without Python interface and JNI
I am trying to build OpenCV libraries with my VS2008 64bit compiler on a Windows 64bit OS. My source files are opencv-2.4.9. But it is throwing the following errors
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.0")
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
I dont want any of those interfaces anyways. Is there a way I can turn them off so that CMake wont look for it while building the libraries?
thanks
cmake -DBUILD_opencv_java=OFF -DBUILD_opencv_python=OFF
on the other hand, if you don't want any of this, you're safe to ignore the messages. unsure though, if it's possible to suppress them at all.
Thanks for your quick reply. Since I am not sure where to put that command you suggested, I just ignored those messages and both my 32bit and 64bit builds went fine and working.