2013年10月15日火曜日

Building OpenCV on Debian Wheezy on BeagleBone Black

It's my memo. 

It takes 2-3 hours.

OpenCV source tar boal download from opencv home.

opencv-2.4.6.1.tar.gz

sudo apt-get -yV update
sudo apt-get -yV upgrade
sudo reboot

sudo apt-get -yV install build-essential

sudo apt-get -yV build-dep opencv
sudo apt-get -yV install libqt4-dev

sudo apt-get -yV install libgtk2.0-dev 
sudo apt-get -yV install pkg-config 
sudo apt-get -yV install opencl-headers
sudo apt-get -yV install libjpeg-dev

sudo apt-get -yV install libopenjpeg-dev
sudo apt-get -yV install jasper
sudo apt-get -yV install libjasper-dev libjasper-runtime
sudo apt-get -yV install libpng12-dev
sudo apt-get -yV install libpng++-dev libpng3
sudo apt-get -yV install libpnglite-dev
sudo apt-get -yV install libtiff-dev libtiff-tools pngtools

sudo apt-get -yV install zlib1g-dev zlib1g-dbg
sudo apt-get -yV install v4l2ucp
sudo apt-get -yV install python
sudo apt-get -yV install autoconf
sudo apt-get -yV install libtbb2 libtbb-dev
sudo apt-get -yV install libeigen2-dev
sudo apt-get -yV install cmake
sudo apt-get -yV install openexr
sudo apt-get -yV install gstreamer-plugins-*
sudo apt-get -yV install freeglut3-dev
sudo apt-get -yV install libglui-dev
sudo apt-get -yV install libavc1394-dev libdc1394-22-dev libdc1394-utils
sudo apt-get -yV install libxine-dev
sudo apt-get -yV install libxvidcore-dev
sudo apt-get -yV install libva-dev

sudo apt-get -yV install libssl-dev
sudo apt-get -yV install libv4l-dev
sudo apt-get -yV install libvo-aacenc-dev
sudo apt-get -yV install libvo-amrwbenc-dev
sudo apt-get -yV install libvorbis-dev
sudo apt-get -yV install libvpx-dev


cd opencv-2.4.6.1

cmake .
make
sudo make install

Peace!!

0 件のコメント:

コメントを投稿