opencv-2.4.13 compilation failed in openSUSE Leap42.1 64 bit
Hello! I was installing opencv-2.4.13 in openSUSE Leap42.1 64 bit. The "make" operation stalled at 63% for "utils+Converters-jdoc.java" showing error
[ 63%] Generating utils+Converters-jdoc.java, core+MatOfInt-jdoc.java, core+MatOfRect-jdoc.java, core+MatOfKeyPoint-jdoc.java, core+MatOfFloat6-jdoc.java, core+Point-jdoc.java, core+MatOfPoint2f-jdoc.java, core+MatOfFloat-jdoc.java, core+MatOfPoint-jdoc.java, core+Range-jdoc.java, gpu+Gpu-jdoc.java, core+MatOfDouble-jdoc.java, core+CvException-jdoc.java, core+MatOfFloat4-jdoc.java, core+Rect-jdoc.java, core+CvType-jdoc.java, features2d+DMatch-jdoc.java, core+Mat-jdoc.java, core+RotatedRect-jdoc.java, core+MatOfPoint3f-jdoc.java, gpu+DeviceInfo-jdoc.java, core+Scalar-jdoc.java, core+MatOfPoint3-jdoc.java, core+MatOfDMatch-jdoc.java, gpu+TargetArchs-jdoc.java, core+MatOfByte-jdoc.java, core+Size-jdoc.java, features2d+KeyPoint-jdoc.java, core+TermCriteria-jdoc.java, core+Point3-jdoc.java, core+MatOfInt4-jdoc.java cd /home/vega/tmp/opencv_tst/opencv-2.4.13/build/modules/java && /usr/bin/python2 /home/vega/tmp/opencv_tst/opencv-2.4.13/modules/java/generator/gen_javadoc.py --modules core,imgproc,objdetect,features2d,video,highgui,ml,calib3d,photo,contrib /home/vega/tmp/opencv_tst/opencv-2.4.13/modules/java/generator/src/java /home/vega/tmp/opencv_tst/opencv-2.4.13/build/modules/java 2> /home/vega/tmp/opencv_tst/opencv-2.4.13/build/modules/java/get_javadoc_errors.log modules/java/CMakeFiles/opencv_java.dir/build.make:4726: recipe for target 'modules/java/utils+Converters-jdoc.java' failed make[2]: * [modules/java/utils+Converters-jdoc.java] Error 1 make[2]: Leaving directory '/home/vega/tmp/opencv_tst/opencv-2.4.13/build' CMakeFiles/Makefile2:6240: recipe for target 'modules/java/CMakeFiles/opencv_java.dir/all' failed make[1]: [modules/java/CMakeFiles/opencv_java.dir/all] Error 2 make[1]: Leaving directory '/home/vega/tmp/opencv_tst/opencv-2.4.13/build' Makefile:163: recipe for target 'all' failed make: ** [all] Error 2 Aditya-
I have JAVA_HOME set to jdk1.8.0_73. Can anyone help me to proceed? Thanks and Regards. Abhijit
do you need java bindings ? (if not, try
cmake -DBUILD_opencv_java=OFF
)