Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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