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
Run on Raspberry Pi prompting errors:java.lang.UnsatisfiedLinkError: no jniopenblas_nolapack in java.library.path: /usr/java/packages/lib:/lib:/usr/lib #2001
Comments
I've tried maven direct |
Please set the "org.bytedeco.javacpp.logger.debug" system property to "true" to get more information on the console. |
what's your JDK version? |
The console I get after using
I understand that JavaCV depends on the OpenCV library and FFmpeg, and I already have them installed on the Raspberry Pi, are there any dependencies I'm missing? |
I am using openjdk 17
|
What do you get if you call Loader.getPlatform()? And what are the values of the "os.arch" and "os.name" system properties? |
The call to Here is the information about the system:
|
I mean, what do you get if you call System.getProperty("os.arch") and System.getProperty("os.name") in Java? |
The printout reads:
|
What about "java.vm.name", "sun.arch.abi", and "sun.boot.library.path"? |
where |
Ah, ok, so you are using a 32-bit JDK. We'll need to update the hack from @vb216 that checks for "openjdk-armhf" in "sun.boot.library.path" to just "armhf", I guess. For now, you can work around that by setting the "org.bytedeco.javacpp.platform" system property to "linux-armhf". |
@saudet Great! He is now working properly, thank you very much! |
@visionki hey! Could I get your contact information? |
…n JDK (issue bytedeco/javacv#2001) * Fix `Parser` ignoring `Info.skip` for enumerators that do not get translated (issue bytedeco/javacpp-presets#1315) * Fix `Parser` error on C++17 style namespace declarations containing `::` separators (issue #595)
Fix released with JavaCPP 1.5.9! Thanks for reporting |
@visionki javacpp platform: linux-x86_64 . Could you kindly advise on how to resolve this? |
That sounds like something going awry with static initialization. Please try to call Loader.Detector.getPlatform() instead. |
I need to use JavaCV on my Raspberry Pi to take pictures, but my development environment is Windows.
The maven dependencies I introduced are:
The code snippet is as follows:
This works fine on Windows, but when I use
mvn package
to package it and run it on Raspberry Pi, I get thejava.lang.UnsatisfiedLinkError: no jniopenblas_nolapack in java.library.path: /usr/java/ packages/lib:/lib:/usr/lib
error。The full error is as follows:
Is there a dependent library missing?
The text was updated successfully, but these errors were encountered: