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 ?
You can try this one also Installation in Linux
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
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