Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Jar file is not created after cmake/make commands

I'm trying to develop an application in JAVA, using Opencv 2.4.9 in a mac OS 10.10

But my problems are at the beginning with the OpenCV configuration....

I'm not able to create the JAR file into build/bin folder and I cannot understand the reasons...

This is the commands I wrote on the terminal, but they don't create any jar..

$ cd [PATH_TO_OPEN_CV_2_4_9]

$ mkdir build

$ cd build/

$ cmake -G "Unix Makefiles" -D CMAKE_INSTALL_PREFIX=[PATH_TO_OPENCV_DIRECTORY] -D CMAKE_OSX_ARCHITECTURES=x86_64 -D BUILD_PERF_TESTS=OFF -D BUILD_opencv_legacy=NO ..

$make -j3

$ make install

I didn't receive errors... but the jar does not exist

can you help me?