Opencv installation
Jump to navigation
Jump to search
good guide to follow:
Cubieboard
we have no x11 windows need, testing is done off board, so this will install whats needed without the x11 bullshit of 1G! instead we just need 60mb of packages.
- sudo apt-get install build-essential libjpeg-dev libtiff4-dev libjasper-dev libopenexr-dev cmake python-dev python-numpy libeigen2-dev yasm libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev sphinx-common libv4l-dev libdc1394-22-dev libavcodec-dev libavformat-dev libswscale-dev
- cmake -D WITH_TBB=OFF -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D WITH_QT=OFF -D WITH_OPENGL=ON ..
- make
go get coffee.. or go to bed
- sudo make install
just a note: it took 2 hours to compile, could not use make -j2 as it had errors waiting for the other process to finish :(