Odroid+OpenCV+ROS

=Installation instructions for OpenCV and ROS on Odroid U3=

Odroid image
First of all you have to download an image for your Odroid: http://odroid.in/ubuntu_14.04lts/ When the image is downloaded and extracted, it is time to do some dangerous work. - Put empty SD card (min 16GB) in your computer. - Open GParted and format the SD card (and only the SD card) in EXT4 - Copy the image to the SD card **sudo dd bs=1M if=/path/to/image/imagename.img of=/dev/nameofsdcard** nameofsdcard is probably sdc or sdd or ... (see for the right name in GParted). If you take a wrong name, your screwed. - At this point it seems like nothing is happening but take a look at the led in your SD card reader device, it is blinking like it never blinked before ! - While waiting, listen to next song : https://www.youtube.com/watch?v=XHosLhPEN3k

- After a while the image is copied to your SD card and your terminal let you know - First expand the filesystem to full size with GParted. - Put the SD card in the Odroid and power-up. - If the Odroid boot, you can go to the next step, otherwise... not. - username: odroid passwd:odroid

Opencv install
- Download the latest opencv from sourceforge.net/projects/opencvlibrary/ - make a new directory in your home folder **mkdir opencv** - **cd opencd** - Unzip the downloaded file in this folder **unzip yourfile** - Install additional libraries: - next:
 * sudo apt-get install libtbb-dev libeigen2-dev libqt4-dev libqt4-opengl-dev libopencv-dev build-essential checkinstall cmake pkg-config yasm libtiff4-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev**
 * sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUBLAS=ON -D WITH_CUFFT=ON -D WITH_OPENGL=ON -D WITH_QT=OFF -D BUILD_DOCS=ON -D BUILD_EXAMPLES=ON -D BUILD_TESTS=ON .**


 * make -j 8**


 * sudo make install**