I am attempting to get a mini2dx project which uses libgdx backend to run on my pi 3b.
I replaced the .so files for lwjgl and libgdxarm.so and got through a bunch of errors. I also replaced the native jar files with ones from the raspbian repo that came with liblwjgl-java, But now I am stuck with the following and am unsure how to proceed.
LwjglApplication: Couldn't initialize audio, disabling audio
java.lang.UnsatisfiedLinkError: org.lwjgl.DefaultSysImplementation.getJNIVersion()I
at org.lwjgl.DefaultSysImplementation.getJNIVersion(Native Method)
at org.lwjgl.Sys.<clinit>(Sys.java:120)
at org.lwjgl.openal.AL.<clinit>(AL.java:59)
at com.badlogic.gdx.backends.lwjgl.audio.Mini2DxOpenALAudio.<init>(Mini2DxOpenALAudio.java:94)
at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame.initialiseLibGDX(DesktopMini2DxGame.java:97)
at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame.<init>(DesktopMini2DxGame.java:90)
at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame.<init>(DesktopMini2DxGame.java:67)
at leikr.desktop.DesktopLauncher.main(DesktopLauncher.java:15)
Exception in thread "LWJGL Application" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.Sys
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:591)
at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame$1.run(DesktopMini2DxGame.java:119)
it makes me think that either the libgdxarm.so that I compiled is not working, or the lwjgl files that come with the raspbian repo are wrong. I’d appreciate any advice possible, as I am out of ideas to try.
My project I am trying this with is here: github.com/torbuntu/leikr