Opencv
From ICO wiki
OpenCV
OpenCV installation Ubuntu Installation Install Ubuntu Desktop 11.10 32bit (64bit if host is capable) install gnome desktip fallback - You don’t need unity for ebedded systems. sudo apt-get remove ffmpeg x264 libx264-dev sudo apt-get update sudo apt-get install build-essential checkinstall git cmake libfaac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev texi2html yasm zlib1g-dev sudo apt-get install libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg http://enos.itcollege.ee/~mernits/eik-opencv/ http://enos.itcollege.ee/~mernits/eik-opencv/OpenCV-2.3.1-margus-1.tar.gz http://enos.itcollege.ee/~mernits/eik-opencv/last_stable_x264.tar.bz2 ./configure --enable-static make sudo make install , http://enos.itcollege.ee/~mernits/eik-opencv/ffmpeg-0.8.5.tar.bz2 ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab make sudo make install Download and install gtk by entering the following command: sudo apt-get install libgtk2.0-0 libgtk2.0-dev Download and install libjpeg by entering the following command: sudo apt-get install libjpeg62 libjpeg62-dev wget http://enos.itcollege.ee/~mernits/eik-opencv/v4l-utils-0.8.5.tar.bz2 untar … make sudo make install cmake .. -DWITH_JPEG=OFF -DWITH_TDD=OFF -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_FLAGS="-march=native" -DCMAKE_C_FLAGS="-march=native" g++ watershed.cpp -I /usr/local/include/opencv -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann -lQtGui -lQtNetwork -lQtCore -lpthread -o watershed Links http://ozbots.org/opencv-installation/