I need to create a project for the RPI3. It must control external devices, read signals from a coin acceptor and output the graphic of a videogame to a screen 1920x1080 px. I used Processing libraries (www.processing.org) for all the purposes but it renders the graphic very slow and without Open GL ES support (I think this is the main reason). I want to transfer from processing to LibGDX to complete the project and am selecting for a library for simple interaction with the GPIO. I have founded only Pi4J project but can not even run tests.
I get the next error message when I launch the first example of the Pi4J library on my RPI4B (Raspberry Pi OS 64bit):
/root/.jdks/liberica-11.0.18/bin/java -javaagent:/home/MGDSStudio/Software/idea-IC-223.8617.56/lib/idea_rt.jar=34803:/home/MGDSStudio/Software/idea-IC-223.8617.56/bin -Dfile.encoding=UTF-8 -classpath /home/MGDSStudio/GD/Tests/Pi4j/pi4j-v1/pi4j-example/target/classes:/home/MGDSStudio/GD/Tests/Pi4j/pi4j-v1/pi4j-core/target/classes:/root/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/root/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar BlinkGpioExample
<--Pi4J--> GPIO Blink Example ... started.
Mar 08, 2023 7:27:37 PM com.pi4j.util.NativeLibraryLoader load
SEVERE: Unable to load [libpi4j] using path: [/lib/raspberrypi/dynamic/libpi4j-aarch64.so]
java.io.FileNotFoundException: File /lib/raspberrypi/dynamic/libpi4j-aarch64.so was not found in classpath.
I use liberica jdk-11. What is wrong with it or my SBC? I have tested also on my Khadas Vim3 pro (Ubuntu 20.04 64 bit) but without success.