cdut007 / javacv

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

Name of dependent dlls #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, thanks for making this great port for opencv to java.

But, I have a critical problem that prevents me from using the interface.

The problem is that jni*.dll files need dll files whose names are in format 
OPENCV_*.dll BUT my the dlls residing in my opencv/bin directory have names in 
format libopencv_*.dll.

Even if this problem can be solved with renaming the dlls, I wanted to notify 
you about this issue. Because by default opencv dlls come in the format 
libopencv_*.dll and using them in that way seems more convenient.

Cheers
Behlül

Original issue reported on code.google.com by ucarbeh...@gmail.com on 23 Feb 2011 at 4:45

GoogleCodeExporter commented 9 years ago
The  DLLs for Win32 on OpenCV's site are NOT prefixed with “lib“. If you 
insist on using different names, simply preload them using System.load() before 
calling any method of JavaCV, and it should work

Original comment by samuel.a...@gmail.com on 24 Feb 2011 at 4:37

GoogleCodeExporter commented 9 years ago
I am assuming that `System.load()` gets the job done, so marking this issue as 
"Done". Please let me know if you still have problems, thank you

Original comment by samuel.a...@gmail.com on 7 Apr 2011 at 7:55