cannot find symbol in compiling
I try to compile Opencv using this tutorial - link text
When i promt cmake -DBUILD_SHARED_LIBS=OFF
i get the following information:
-- OpenCV modules:
-- To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib java stitching superres ts videostab
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: androidcamera dynamicuda python viz
-- Java:
-- ant: /usr/local/bin/ant (ver 1.9.3)
-- JNI: /System/Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers
-- Java tests: YES
Next step is make -j8 abort at 88% with error:
[ 88%] Generating opencv-248.jar
[javac] /Users/zhuk/android+opencv/opencv/opencv/src/org/opencv/calib3d/Calib3d.java:9: error: cannot find symbol
[javac] import org.opencv.core.Mat;
[javac] ^
[javac] symbol: class Mat
[javac] location: package org.opencv.core
cmake version 2.8.11.2. Mac OS 10.9.2.
How can I compile OpenCV?
in folder src/org/opencv/core/ not exist file Mat.java. In this folder exist only Core.java and Algorithm.java. Why this may happens?
if you cannot find java folder see this thread - http://answers.opencv.org/question/7958/no-opencv_java244-in-javalibrarypath/