Ubuntu 9 - eLinux
Ubuntu 9.10 opencv2.0
Hint: steps below assume you have installed gcc,g++,make.
1 Get the update software package information
$sudo apt-get update
2 Search for software package related to OpenCV
$ apt-cache search opencv
3 Install the relevant dependent libraries
sudo apt-get install libv4l-dev libv4l-0 libboost1.40-all-dev libusb-1.0-0-dev libgtk2.0-dev libgsl0-dev
注意:小写的L与数字1别弄混。
4Download OpenCV-2.0.0.tar.bz2 from
5 Go to the folder where OpenCV-2.0.0.tar.bz2 is.
cd /usr/local/opencv
sudo tar vxf OpenCV-2.0.0.tar.bz2
6 Go to the folder OpenCV-2.0.0 to configure
Sudo ./configure --with-v4l=yes --with-dc1394v2=no --with-quicktime=no --disable-debug --with-swig=no --with-python=no --with-ffmpeg=no
7Compile
sudo make
8Install opencv
sudo make install
sudo make uninstall
if successful:
[pic]
9 Update dynamic link library that provision of the relevant library path
$ export LD_LIBRARY_PATH=/usr/local/opencv/lib:$LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
10set pkg-config:
sudo export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opencv/lib/pkgconfig
[pic]
11 Test if succesfull:
sudo g++ `pkg-config opencv --libs --cflags opencv` drawing.c -o drawing.out
sudo ./drawing.out
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- ubuntu 9 elinux
- opencv installation walkthrough
- importing a library that is not in colaboratory
- c c programming with visual studio 2017 and opencv
- ucsb ieee institute of electrical and electronics engineers
- c c programming with visual studio 2017 and opencv 3 2 0
- installation guide python2
- installing opencv on arm board