jloyd / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Impossible to run the sample code #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I open Eclipse, and I create a new project, as described here : 
http://code.google.com/p/javacv/
2. In that new project, only one small class with a call to a opencv function 
(I used the first sample code)

What is the expected output? What do you see instead?
I have the following error :
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load 
library 'cxcore': dlopen(libcxcore.dylib, 9): image not found

What version of the product are you using? On what operating system?
I am on Mac Os X 1.5 (macbook). I downloaded the latest version of Javacv, and 
used the SVN of OpenCV to compile.

Please provide any additional information below.
I installed OpenCV (with cmake), and I can compile and run the examples 
included. So that works.
I compiled it without SSE support, and with the correct architecture (i386).
The library was installed in /usr/local/lib/libopencv_...

Maybe I did something wrong, but I really followed the documentation, and I end 
up with that, so maybe it is really the documentation that has a problem.

Original issue reported on code.google.com by matth...@mnapoli.fr on 13 Sep 2010 at 11:33

GoogleCodeExporter commented 9 years ago
Ah, apparently they changed the names of the libraries on Mac OS X with the 
latest SVN version... You could either try to install the latest official 
version, or modify the source code file to load the new names instead of the 
old names. I will eventually update JavaCV..

Original comment by samuel.a...@gmail.com on 14 Sep 2010 at 2:08

GoogleCodeExporter commented 9 years ago
Ah ! I indeed used the latest SVN version. I'll try to compile the official 
version. Thank you (I was starting to drop the idea of Java and trying C++ ;)

Original comment by matth...@mnapoli.fr on 14 Sep 2010 at 2:32

GoogleCodeExporter commented 9 years ago
Yes it did it ! Thank you

Original comment by matth...@mnapoli.fr on 14 Sep 2010 at 2:40

GoogleCodeExporter commented 9 years ago

Original comment by samuel.a...@gmail.com on 14 Sep 2010 at 5:11