java - Missing libraries in JNI2OpenCV? -
i'm newb when comes jni2opencv. has errors regarding java.library.path. i've read thread opencv jni how make work? seems different case mine. here's errors get:
exception in thread "main" java.lang.unsatisfiedlinkerror: c:\jni2opencv.dll: can't find dependent libraries @ java.lang.classloader$nativelibrary.load(native method) @ java.lang.classloader.loadlibrary0(classloader.java:1803) @ java.lang.classloader.loadlibrary(classloader.java:1728) @ java.lang.runtime.loadlibrary0(runtime.java:823) @ java.lang.system.loadlibrary(system.java:1028) @ jni2opencv.jniopencv.(facedetection.java:6) @ jni2opencv.facedetection.(facedetection.java:16) @ jni2opencv.main.main(main.java:18)
i've copied dlls specific libraries , still errors. tried dependency walker, didn't have slightest clue on told me. help? thank you! :)
- check have install microsoft c++ 2010 redistributable.
- make sure "c:\opencv\build\common\tbb" path in environment variables.
- download javacv-0.1.jar , make library file in project.
- if problem exist download cv100.dll, cvcam100.dll,cxcore100.dll,opencv_highgui220.dll internet , copy system32.
- also make sure opencv library compatible javacv , opencv folder contains folder named "bin" .
- if problem still exist install opencvdotnet.
Comments
Post a Comment