Ask Your Question
0

Install OpenCV on Ubuntu fail Java directory

asked 2014-01-06 16:53:28 -0500

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
-1

answered 2014-01-06 18:43:57 -0500

Steven P. Goldsmith gravatar image
edit flag offensive delete link more

Comments

understandable, that you want to promote your framework, but this is not an answer.

berak gravatar imageberak ( 2014-01-07 03:08:41 -0500 )edit

I'm not promoting a framework. If you actually took the time to look at the readme you'd see that it's an install script that actually works.

Steven P. Goldsmith gravatar imageSteven P. Goldsmith ( 2014-01-07 11:00:32 -0500 )edit

ok, i apologize for bad wording and being overly harsh.

berak gravatar imageberak ( 2014-01-07 11:30:33 -0500 )edit

No problem, I figure it's better to automate the many steps rather than a manual how-to process. Both Java and Python bindings are generated.

Steven P. Goldsmith gravatar imageSteven P. Goldsmith ( 2014-01-07 12:31:54 -0500 )edit

Thanks, Install seems to be OK. At least no error message. I will try the examples later on today.

wadelius gravatar imagewadelius ( 2014-01-08 01:39:06 -0500 )edit

To tell if it's OK without examples try:

ffmpeg (you should get ffmpeg version)

pkg-config --modversion opencv (you should get OpenCV version)

You can upgrade to OpenCV 2.4.8.0 by following https://github.com/sgjava/install-opencv#upgrades

Steven P. Goldsmith gravatar imageSteven P. Goldsmith ( 2014-01-08 15:27:41 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-01-06 16:53:28 -0500

Seen: 531 times

Last updated: Jan 07 '14