bytedeco / javacv

Java interface to OpenCV, FFmpeg, and more
Other
7.39k stars 1.56k forks source link

UnstatisfiedLinkedError: no jniopencv_highgui in java.libiary.path #2205

Closed steeveen closed 3 months ago

steeveen commented 3 months ago

I user newest JavaCV on windows and my code works fine, but it report this on linux when running Loader.load(opencv_java.class).

saudet commented 3 months ago

Please try again with JavaCV 1.5.10

steeveen commented 3 months ago

Is there something different between 1.5.9 between 1.5.10? I have tested that this error happens on 1.5.8 and 1.5.9. And I m trying 1.5.10 now

steeveen commented 3 months ago

1.5.10 meets no jniopenblas_nolapack. now I will try add openblas dependency in pom

steeveen commented 3 months ago

alter adding openblas dependency in pom. Still meets no jniopenblas_nolapack

saudet commented 3 months ago

You need to add openblas-platform, not openblas

saudet commented 3 months ago

I see, you're probably not using Ubuntu, please use Ubuntu, it might not work with other versions of Linux

saudet commented 3 months ago

Duplicate of https://github.com/bytedeco/javacpp-presets/issues/1379