Nov 29, 2010

Working with OpenCV and Processing under linux

Just a tip for everyone having trouble when working with the OpenCV library for Processing.

After installing OpenCV in a recent Ubuntu distro, following the instructions, you might get an error like:

UnsatisfiedLinkError: ...

When you try to execute the Opencv library examples in Processing.

The solution is easy...

This is because the library is looking for the wrong OpenCV version.

The solution is to make simbolic links to the instaled version files in the folder /usr/lib:

$ cd /usr/lib
$ sudo ln -s
$ sudo ln -s
$ sudo ln -s
$ sudo ln -s
$ sudo ln -s

Hope it helps!

No comments:

Post a Comment