Ask Your Question

Revision history [back]

Cmake don't builds openCV.

Hi, guys. I've been trying to install opencv to use it with Java. I followed this guide. Performing this

cmake -DBUILD_SHARED_LIBS=OFF ..

command resuled with

-- Java: -- ant: /usr/bin/ant (ver 1.9.3)

-- JNI: NO

-- Java tests: NO

but when I type command

ls $JAVA_HOME/bin/javac

I'm get:

/usr/lib/jvm/java-8-oracle/bin/javac

and after preforming this

ls $JAVA_HOME/include/jni.h

/usr/lib/jvm/java-8-oracle/include/jni.h

So I don't know, what is my problem, because everything seems to be fine. OS: Linux Mint 17.1 Rebecca openCV path: /usr/opencv

Thanx.