Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits)

Trying to run this (the mac version) on linux, I get a crash:

com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'libgdx64.so' for target: Linux, 64-bit

manually downloading and extracting libgdx64.so from http://libgdx.badlogicgames.com/nightlies/dist/gfx-natives.jar and putting it in Resources, this error is fixed but I run into a new error:

com.badlogic.gdx.utils.GdxRuntimeException: Unable to extract LWJGL natives.

Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Unable to read file for extraction: liblwjgl64.so

I found and downloaded a copy of that, and of libopenal64.so, which was the next thing to throw an error. Then I end up with this:

com.badlogic.gdx.utils.GdxRuntimeException: java.lang.UnsatisfiedLinkError: org.lwjgl.opengl.LinuxDisplay.nSetClassHint(JJJJ)V

at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:131)

Caused by: java.lang.UnsatisfiedLinkError: org.lwjgl.opengl.LinuxDisplay.nSetClassHint(JJJJ)V

at org.lwjgl.opengl.LinuxDisplay.nSetClassHint(Native Method)

...

It's possible that that error is due to a version mismatch, as the copies of liblwjgl64.so and libopenal64.so that I found were from 2012.

Hey - we're going to create a native linux64 build for the next public build. The build library we're using, as you might have noticed, removes a lot of the platform-specific artifacts from the JRE to keep the download size down. That last LWJGL error is a little puzzling, but it's probably related to a missing native resource.