Sarah Nagaty's Blog

openCV on ubuntu

Posted on: December 10, 2009

Due to an error on visual studio, I couldn’t work on my openCV assignment so I looked for an alternative that would be easy to start working with. NetBeans seemed like a very good idea as I’m really familiar working on it but never on ubuntu. At first I downloaded NetBeans IDE 6.7.1 and installed it by typing:

sudo sh netbeans-6.7.1-ml-linux.s

Afterwards all the openCV libraries should be installed via the Synaptic Package Manager together with python-opencv .

Netbeans must be linked to openCV libraries (after the installation of openCV) so the following libraries should be added at the project properties-> Build-> Linker-> Libraries-> Add Library:

a. libcv.a
b. libcvaux.a
c. libcxcore.a
d. libhighgui.a

These libraries are found at: /usr/lib

Afterwards, The Build->C++ Compiler-> Include Directories should contain:

Hope this post helps :))


1 Response to "openCV on ubuntu"

Best of luck with your studies

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


  • None
  • ramsey nagaty: Hi Best of luck with your studies
  • snagaty: Anytime! uw :)
  • Auto Insurance Guy: Ah!!! at last I found what I was looking for. Somtimes it takes so much effort to find even tiny useful piece of information. Nice post. Thanks


%d bloggers like this: