'Unsatisfied link error in opencv in legacy Java app - Is this possible to correct without migrating to newer versions of opencv?
I inherited a Java project from several years back that I need to make functional once again. It is a Java GUI app that relies on older opencv and Javacv versions (the older com.googlecode.javacv instead of the newer bytedeco versions). I have much of the application working but I cannot get past this error.
Caused by: java.lang.UnsatisfiedLinkError: C:\AppData\Local\Temp\javacpp35316293606100\jniopencv_objdetect.dll: Can't find dependent libraries
I realize this is normally due to opencv not being present on java.library.path but I know that it is. I have tried many different locations on the path but none have had any effect. I have tried installing a newer version of opencv to C:\opencv and insuring that is on the path. This had no effect as well. I have also tried adding:
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
to the main class of the application and this also had no effect. I have scoured the web for a solution to this but this is really my last resort. I have researched every question on Stack Overflow that is even moderately related but none have resolved the issue.
Is it possible that this is javacpp related due to the older versions? I have tried to simply move on to the newer versions of opencv and javacv but there seem to be quite a few symbols missing from the bytedeco versions that were present in the googlecode versions. Any help would be so greatly appreciated! If there is any further info I can provide, please let me know!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
