Last year I decided to give Ubuntu ( the new cool kid ) a try and use it as my development platform. Bad idea! Ubuntu 9.10 was a Vista like experience to me. I had a hard time with the booting system GRUB that kept on failing every time I do a system update or my laptop runs out of power. It was very frustrating to say the least.
Today, I am going to give ubuntu 10.04 a try hoping for a better luck this time around. My main development will be computer vision/machine learning related stuff so OpenCV is the first thing I want to install and I will use this blog post to log all the steps taken to have OpenCV up and running in my Ubuntu 10.04
install svn: sudo apt-get install subversion
OpenCV
Searching for OpenCV in Synaptic returned the list of OpenCV 2.0 libraries needed to run it. So I installed them.
It looks like the .h files were installed in /usr/include/opencv and the Haar Cascade xml files are located in /usr/share/opencv/haarcascades/
cmake:
sudo apt-get install cmake
Download CMake module for OpenCV:
http://opencv.willowgarage.com/wiki/Getting_started?action=AttachFile&do=view&target=FindOpenCV.cmake
Save it to: /usr/share/cmake/Modules
install the ccmake by running: sudo apt-get install cmake-curses-gui
Eclipse
Eclipse can easily be installed using the Ubuntu Software Center. Right now, the shipped version is 3.5.2
- SVN plugin: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA ( If you get an error about JavaHL, just install libsvn by running: sudo apt-get install libsvn-java )
- CDT plugin: can be installed using help-> Install New Software-> Available sites and you can see C++ Development Toolkit listed.
Et Voila! Now you can create OpenCV projects and compile them using cmake!
I should now write a post on how to build a similar environment in MAC and Windows.
Browse Timeline
- Next: » My first encounter with WebM
- Previous: « Logistic Regression to classify flying aircrafts [2]















