Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no jniopencv_core in java.library.path #8

Open
neerajrp1999 opened this issue Jan 8, 2023 · 0 comments
Open

no jniopencv_core in java.library.path #8

neerajrp1999 opened this issue Jan 8, 2023 · 0 comments

Comments

@neerajrp1999
Copy link

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path: D:\OpenCV\opencv-3.4.2-vc14_vc15\opencv\build\java\x64
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2444)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848)
at java.base/java.lang.System.loadLibrary(System.java:2047)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1191)
at org.bytedeco.javacpp.Loader.load(Loader.java:953)
at org.bytedeco.javacpp.Loader.load(Loader.java:854)
at org.bytedeco.javacpp.opencv_core.(opencv_core.java:10)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:495)
at java.base/java.lang.Class.forName(Class.java:474)
at org.bytedeco.javacpp.Loader.load(Loader.java:913)
at org.bytedeco.javacpp.Loader.load(Loader.java:854)
at org.bytedeco.javacpp.opencv_core$MatVector.(opencv_core.java:1412)
at org.example.TrainLBPH.trainPhotos(TrainLBPH.java:30)
at org.example.TrainLBPH.main(TrainLBPH.java:50)
Caused by: java.lang.UnsatisfiedLinkError: no opencv_imgproc342 in java.library.path: D:\OpenCV\opencv-3.4.2-vc14_vc15\opencv\build\java\x64
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2444)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848)
at java.base/java.lang.System.loadLibrary(System.java:2047)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1191)
at org.bytedeco.javacpp.Loader.load(Loader.java:940)
... 10 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant