Ask Your Question

OpenCV 3: make failed on ubuntu

asked 2014-10-31 21:17:43 -0500

Rage gravatar image

I am trying to compile make opencv 3 on my ubuntu. It always fails at opencv_videostab and opencv_traincascade. I am fairly new to linux and also to opencv.

am I missing libraries?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-11-01 01:47:30 -0500

" It always fails"

You need to post your error message, otherwise it will be hardly possible to solve the problem. I installed OpenCV 3 on Ubuntu 14.04 and 12.04 yesterday without any problems. Which version do you use? What are your compiler Versions? What does cmake say?

edit flag offensive delete link more


On make -j8 I get this error:

make[2]: * [modules/java/] Error 126 make[1]: [modules/java/CMakeFiles/opencv_java.dir/all] Error 2 make[1]: ** Waiting for unfinished jobs.... [ 77%] Built target opencv_traincascade [ 78%] Built target opencv_videostab [ 79%] Built target opencv_stitching [ 82%] Built target opencv_test_calib3d

I am using Ubuntu 12.04. as for the compiler version I am using g++ 4.6.3

I hope the info I gave was helpful.

Rage gravatar imageRage ( 2014-11-03 09:23:23 -0500 )edit

answered 2014-10-31 21:29:49 -0500

saamishon gravatar image

Try the stable 2.4.9 version. 3.0 is still in the alpha version.

Try this :)

edit flag offensive delete link more


I wanted to use the Real time pose estimation code which is only in Opencv 3.0 I think.

This link right here:

Rage gravatar imageRage ( 2014-11-03 09:27:30 -0500 )edit

Question Tools


Asked: 2014-10-31 21:17:43 -0500

Seen: 901 times

Last updated: Nov 01 '14