Unable to install OpenCV 2.4.9 on Ubuntu 14.04

asked 2014-05-25 04:15:31 -0500

vishnus gravatar image

Hi.. Im new to OpenCV. I tried installing OpenCV on my Ubuntu 14.04 and it got stuck while in make at 16%:

[ 16%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cmdparser.cpp.o make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: *** [all] Error 2

Then I tried this: https://help.ubuntu.com/community/OpenCV and that gave the following error:

    ========================= Installation results =========================== 
    [ 0%] Built target opencv_core pch_dephelp
    [ 0%] Built target pch Generate opencv_core make[2]: 
    *** No rule to make target `/usr/lib64/libGL.so', needed by `lib/libopencv_core.so.2.4.9'. Stop. make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: *** [all] Error 2 
**** Installation failed. Aborting package creation. 
Restoring overwritten files from backup...
OK Cleaning up...
OK Bye. 
OpenCV 2.4.9 ready to be used

Can someone help me with this installation ?

edit retag flag offensive close merge delete


You can try this one also Installation in Linux

Haris gravatar imageHaris ( 2014-05-25 12:45:07 -0500 )edit

I installed 2.4.9 on Ubuntu 14.04 without any issues following these steps: http://docs.opencv.org/trunk/doc/tutorials/introduction/linux_install/linux_install.html

coinocr gravatar imagecoinocr ( 2014-05-26 14:35:31 -0500 )edit

If your prefer, you can install latest version (3.0.0 alpha) using the following guide (script): http://rodrigoberriel.com/en/2014/10/instalando-opencv-3-0-0-no-ubuntu-14-04/ Watch the demo video: http://youtu.be/DYTfwThePBw

Rodrigo Berriel gravatar imageRodrigo Berriel ( 2014-10-18 09:32:50 -0500 )edit