You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.UnsatisfiedLinkError: C:\Users\jitterhorse\workspace\LIBS\javacpp\opencv-3.4.2-1.4.2-windows-x86_64-gpu.jar\org\bytedeco\javacpp\windows-x86_64-gpu\jniopencv_cudaobjdetect.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1225)
at org.bytedeco.javacpp.Loader.load(Loader.java:983)
at org.bytedeco.javacpp.Loader.load(Loader.java:882)
at org.bytedeco.javacpp.opencv_cudaobjdetect.<clinit>(opencv_cudaobjdetect.java:26)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.bytedeco.javacpp.Loader.load(Loader.java:941)
at org.bytedeco.javacpp.Loader.load(Loader.java:882)
at org.bytedeco.javacpp.opencv_cudaobjdetect$CudaCascadeClassifier.<clinit>(opencv_cudaobjdetect.java:306)
at org.jitterhorse.mav.cppCV2.App.main(App.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\jitterhorse\.javacpp\cache\opencv-3.4.2-1.4.2-windows-x86_64-gpu.jar\org\bytedeco\javacpp\windows-x86_64-gpu\jniopencv_cudaobjdetect.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1205)
That's a bug in the presets. We need to load opencv_cudalegacy342.dll but it's missing from the preload list. For now, we can work around this easily by preloading some other module that also uses opencv_cudalegacy342.dll, for example opencv_stitching, like this:
Hi,
when i create:
i get
This is my POM:
I'm on Windows 10 / 64 bit developing with Eclipse Oxygen and having Cuda 9.2 with cudnn 7.1 installed and registed in the system variables.
Do I need to install and build a OpenCV with CUDA myself?
I would be happy about any help!
Thanks in advance
jit
The text was updated successfully, but these errors were encountered: