Aisya
Aisya

Reputation: 21

Why do I get java.lang.UnsatisfiedLinkError: Can't find dependent libraries?

I wrote code using Java with OpenCV for my Face Detection program. Previously my program was able to run in my old PC. But then I tried to run my program in my new PC and I got this error. Do I need to install/include anything to solve this problem?

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\edaranadmin\AppData\Local\Temp\jniopencv_core7490305950243316892.dll: Can't find dependent libraries

Thanks. :)

Upvotes: 2

Views: 4670

Answers (2)

Anooj Krishnan G
Anooj Krishnan G

Reputation: 859

  • Install microsoft c++ 2010 redistributable x64.
  • Make "C:\opencv\build\common\tbb" as yor path in environment variables.
  • Download javacv-0.1.jar and make this as your library file in your project.
  • If the problem exist download cv100.dll, cvcam100.dll,cxcore100.dll,opencv_highgui220.dll from internet and copy this to system32.

Upvotes: 1

tibo
tibo

Reputation: 5494

You have to install OpenCV to have the dll ;)

You will find all explanations there : http://code.google.com/p/javacv/wiki/Windows7AndOpenCV

Upvotes: 0

Related Questions