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.
Open up
cmake-gui
in your source folder and make sure that all paths are found, if not, then they will bered
and you can manually point the CMAKE to it.How can I sure, that all parts are found? Every entry is red in cmake gui after I pressed 'configure' button all the red entries became not red, but it had scr1no effect scr2