views:

194

answers:

3

Here is some information saying some libraries are needed to build OpenCV for programming:

-- checking for module 'libunicap'

-- package 'libunicap' not found

-- checking for module 'libucil'

-- package 'libucil' not found

-- checking for module 'libv4l1'

-- package 'libv4l1' not found

I tried to look it up in Synaptic Package Manager but did not find any. Any advice?


UPDATE:

I am installing OpenCV 2.0 via CMake, following http://opencv.willowgarage.com/wiki/InstallGuide.

A: 

Have you taken a look at Ubuntu Canonical Repository?

Because I searched there and I got the libucil (I tested only with it).

Nathan Campos
Thanks! Yes I have. I downloaded them and got "Error: Dependency is not satisfiable: llbucil2" like error. Any idea what is happening?
Tim
I don't have any idea and my Ubuntu laptop isn't here with me now to test this to you. Sorry :(
Nathan Campos
A: 

This doesn't really belong here but you can try using aptitude which should fetch the dependencies:

sudo aptitude update # just update in case you haven't in a long time.
sudo aptitude install OpenCV

Just replace OpenCV with the actual package name of OpenCV. Not sure what it is.

Bartek
+1  A: 

Did you try following these instructions which tell you how to install dependencies and build OpenCV on Ubuntu?

Michael Dillon
Yes, I have tried it and installed the libraries "libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg62-dev libtiff4-dev" already. Note I am installing opencv 2.0 via cmake, not quite the same as the link you gave.
Tim