You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i try to get the code running, but i get following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.jna.Native.pointerSize()I
at com.sun.jna.Native.pointerSize(Native Method)
at com.sun.jna.Native.(Native.java:88)
at com.sun.jna.NativeLibrary.(NativeLibrary.java:55)
at com.github.h0ru5.neopixel.LibneopixelLibrary.(LibneopixelLibrary.java:15)
at com.github.h0ru5.neopixel.NeopixelsImpl.(NeopixelsImpl.java:5)
at com.github.h0ru5.neopixel.DemoRunner.main(DemoRunner.java:10)
My call:
java -Djava.library.path=./neopixel-java/src/dist/ -cp test.jar:./neopixel-java/build/libs/neopixel-java-1.0-SNAPSHOT.jar:./jna-3.0.9.jar com.github.h0ru5.neopixel.DemoRunner
I made a link to get the libjnidispatch.so in the right place:
Hi,
i try to get the code running, but i get following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.jna.Native.pointerSize()I
at com.sun.jna.Native.pointerSize(Native Method)
at com.sun.jna.Native.(Native.java:88)
at com.sun.jna.NativeLibrary.(NativeLibrary.java:55)
at com.github.h0ru5.neopixel.LibneopixelLibrary.(LibneopixelLibrary.java:15)
at com.github.h0ru5.neopixel.NeopixelsImpl.(NeopixelsImpl.java:5)
at com.github.h0ru5.neopixel.DemoRunner.main(DemoRunner.java:10)
My call:
java -Djava.library.path=./neopixel-java/src/dist/ -cp test.jar:./neopixel-java/build/libs/neopixel-java-1.0-SNAPSHOT.jar:./jna-3.0.9.jar com.github.h0ru5.neopixel.DemoRunner
I made a link to get the libjnidispatch.so in the right place:
sudo -s ln -s /usr/lib/arm-linux-gnueabihf/jni/libjnidispatch.system.so /usr/lib/jvm/default-java/jre/lib/arm/libjnidispatch.so
I installed rpi_ws281x and java-jni. But i cant get this up and running. Trying now for two days, i assumed, that i need help...
Thank you
Edit: Tried this on rasbian stretch lite and ubuntu mate for raspberry pi.
The text was updated successfully, but these errors were encountered: