• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't find dependent libraries  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make a Face Recognition application using Eclipse, JavaCV version 0.5 and OpenCV version 2.4.10 but I have a problem. When I click on Run button I get this errors. Can someone to help me? Thanks in advance!

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Daniel\AppData\Local\Temp\javacpp889738778893049\jniopencv_core.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:566)
at com.googlecode.javacpp.Loader.load(Loader.java:489)
at com.googlecode.javacpp.Loader.load(Loader.java:431)
at com.googlecode.javacv.cpp.opencv_core.<clinit>(opencv_core.java:136)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.googlecode.javacpp.Loader.load(Loader.java:453)
at com.googlecode.javacv.cpp.opencv_imgproc.<clinit>(opencv_imgproc.java:97)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.googlecode.javacpp.Loader.load(Loader.java:453)
at com.googlecode.javacv.cpp.opencv_objdetect.<clinit>(opencv_objdetect.java:97)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.googlecode.javacpp.Loader.load(Loader.java:453)
at GUIFaceRecognizer.FaceRecognizer.<init>(FaceRecognizer.java:29)
at GUIFaceRecognizer.FaceRecognizer.main(FaceRecognizer.java:84)
Caused by: java.lang.UnsatisfiedLinkError: no opencv_core245 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:593)
at com.googlecode.javacpp.Loader.load(Loader.java:481)
... 15 more

 
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

Go through this thread - http://www.coderanch.com/t/643243/java/java/Face-Recognition-Opencv-Javacv - and try out the solution I've posted there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!