Skip to content

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

Open
@NikeJV

Description

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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions