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

Strange Error: java.lang.UnsatisfiedLinkError: 'long jni.rpi_ws281xJNI.new_ws2811_t()' #20

Open
NikeJV opened this issue May 28, 2021 · 0 comments

Comments

@NikeJV
Copy link

NikeJV commented May 28, 2021

Hi
When I run a jar file on a Raspberry Pi 4 Model B, I get the following error:

14:09:12.977 [main] INFO ws281x.Ws281xLedStrip - LEDs count: 100, GPIO pin: 12, freq hZ: 800000, DMA: 10, brightness: 255, pwm channel: 0, invert: false, strip type: WS2811_STRIP_RGB, clear on exit: false
14:09:13.015 [main] INFO ws281x.Ws281xLedStrip - Native library loaded
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'long jni.rpi_ws281xJNI.new_ws2811_t()'
at jni.rpi_ws281xJNI.new_ws2811_t(Native Method)
at jni.ws2811_t.(ws2811_t.java:90)
at ws281x.Ws281xLedStrip.init(Ws281xLedStrip.java:201)
at ws281x.Ws281xLedStrip.(Ws281xLedStrip.java:99)
at ws281x.Ws281xLedStrip.(Ws281xLedStrip.java:56)
at MainKt.main(main.kt:4)

Any idea what is going wrong?

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