Ask Your Question

Revision history [back]

Install OpenCV on Ubuntu fail Java directory

Hi, I'm trying to install OpenCV on Ubuntu 12, and run the instructions from http://docs.opencv.org/trunk/doc/tutorials/introduction/linux_install/linux_install.html But when I run make, it stoppes with eror [2], some Java directory is nonexistens. Is there any way to fix this, or bypass this? Regards Urban

........... [ 74%] Built target opencv_test_nonfree [ 74%] Generating core+Algorithm-jdoc.java, core+Core-jdoc.java, imgproc+Imgproc-jdoc.java, imgproc+Moments-jdoc.java, imgproc+Subdiv2D-jdoc.java, objdetect+HOGDescriptor-jdoc.java, objdetect+Objdetect-jdoc.java, objdetect+CascadeClassifier-jdoc.java, features2d+Features2d-jdoc.java, features2d+DescriptorExtractor-jdoc.java, features2d+FeatureDetector-jdoc.java, features2d+GenericDescriptorMatcher-jdoc.java, features2d+DescriptorMatcher-jdoc.java, video+Video-jdoc.java, video+KalmanFilter-jdoc.java, video+BackgroundSubtractor-jdoc.java, video+BackgroundSubtractorMOG-jdoc.java, highgui+Highgui-jdoc.java, ml+CvANN_MLP_TrainParams-jdoc.java, ml+CvGBTrees-jdoc.java, ml+CvRTrees-jdoc.java, ml+CvStatModel-jdoc.java, ml+CvDTreeParams-jdoc.java, ml+CvBoostParams-jdoc.java, ml+CvParamGrid-jdoc.java, ml+CvBoost-jdoc.java, ml+Ml-jdoc.java, ml+CvSVMParams-jdoc.java, ml+CvANN_MLP-jdoc.java, ml+CvGBTreesParams-jdoc.java, ml+CvSVM-jdoc.java, ml+CvRTParams-jdoc.java, ml+CvKNearest-jdoc.java, ml+EM-jdoc.java, ml+CvERTrees-jdoc.java, ml+CvNormalBayesClassifier-jdoc.java, ml+CvDTree-jdoc.java, calib3d+StereoSGBM-jdoc.java, calib3d+Calib3d-jdoc.java, calib3d+StereoBM-jdoc.java, photo+Photo-jdoc.java, contrib+FaceRecognizer-jdoc.java, contrib+StereoVar-jdoc.java, contrib+Contrib-jdoc.java, core+MatOfInt-jdoc.java, core+MatOfByte-jdoc.java, core+MatOfDouble-jdoc.java, core+Rect-jdoc.java, core+MatOfPoint3-jdoc.java, utils+Converters-jdoc.java, core+Scalar-jdoc.java, core+MatOfFloat6-jdoc.java, core+MatOfPoint3f-jdoc.java, core+CvException-jdoc.java, core+MatOfPoint2f-jdoc.java, core+MatOfKeyPoint-jdoc.java, core+RotatedRect-jdoc.java, core+Point-jdoc.java, core+MatOfFloat-jdoc.java, core+Range-jdoc.java, core+MatOfRect-jdoc.java, core+CvType-jdoc.java, features2d+KeyPoint-jdoc.java, features2d+DMatch-jdoc.java, core+MatOfInt4-jdoc.java, core+MatOfDMatch-jdoc.java, core+Point3-jdoc.java, core+MatOfFloat4-jdoc.java, highgui+VideoCapture-jdoc.java, core+Mat-jdoc.java, core+MatOfPoint-jdoc.java, core+Size-jdoc.java, core+TermCriteria-jdoc.java /bin/sh: 1: cannot create /home/ubbe/Desktop/Lab\ 12/openCV/opencv-2.4.5/cmake/modules/java/get_javadoc_errors.log: Directory nonexistent make[2]: * [modules/java/core+Algorithm-jdoc.java] Fel 2 make[1]: [modules/java/CMakeFiles/opencv_java.dir/all] Fel 2 make: ** [all] Fel 2