Ask Your Question

Install OpenCV on Ubuntu fail Java directory

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

Hi, I'm trying to install OpenCV on Ubuntu 12, and run the instructions from 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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, /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/] 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

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

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


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

berak gravatar imageberak ( 2014-01-07 03:08:41 -0600 )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 -0600 )edit

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

berak gravatar imageberak ( 2014-01-07 11:30:33 -0600 )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 -0600 )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 -0600 )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 by following

Steven P. Goldsmith gravatar imageSteven P. Goldsmith ( 2014-01-08 15:27:41 -0600 )edit

Question Tools


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

Seen: 685 times

Last updated: Jan 07 '14