After installing OpenCV in a recent Ubuntu distro, following the instructions, you might get an error like:
UnsatisfiedLinkError: hypermedia.video.OpenCV.capture(III) ...
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 libcxcore.so.4 libcxcore.so.1
$ sudo ln -s libcv.so.4 libcv.so.1
$ sudo ln -s libhighgui.so.4 libhighgui.so.1
$ sudo ln -s libcvaux.so.4 libcvaux.so.1
$ sudo ln -s libml.so.4 libml.so.1
Hope it helps!
No comments:
Post a Comment