Coda Chang Coda Chang - 1 year ago 138
Linux Question

install opencv 2.4.9 on ubuntu14.01 gave error

I was following this tutorial

and others tutorial looks similar and I had also tried

everything works fine before I typed


and i got this error message like this

make[2]: * No rule to make target
/usr/lib/x86_64-linux-gnu/', needed by
lib/'. Stop.
make[1]: *
[modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make: *** [all] Error 2

and I also google for this error

but i could not match my problem :(

thank your helping

Answer Source

after I install this package it works

sudo apt-get install build-essential libgtk2.0-dev libjpeg-dev libtiff4-dev libjasper-dev libopenexr-dev cmake python-dev python-numpy python-tk libtbb-dev libeigen2-dev yasm libfaac-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev libqt4-dev libqt4-opengl-dev sphinx-common texlive-latex-extra libv4l-dev libdc1394-22-dev libavcodec-dev libavformat-dev libswscale-dev
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download