views:

9

answers:

0

I'm a newb when it comes to JNI2OpenCV. It has errors regarding java.library.path. I've read this thread http://stackoverflow.com/questions/2441198/opencv-to-jni-how-to-make-it-work but it seems that this is a different case from mine. Here's the errors I get:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\JNI2OpenCV.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at jni2opencv.JNIOpenCV.(FaceDetection.java:6) at jni2opencv.FaceDetection.(FaceDetection.java:16) at jni2opencv.Main.main(Main.java:18)

I've copied the dlls to my specific libraries and I still get those errors. I even tried Dependency Walker, but I didn't have the slightest clue on what it told me. Any help? Thank you! :)