Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to install OpenCV 2.4.9 on Ubuntu 14.04

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 ?