Posts: 6
Joined: Sat May 05, 2018 2:18 pm

Libgdx compilation arm option

Thu May 17, 2018 8:05 pm

I've start a project based on libgdx, i have no problem to execute this jar on windows, mac os X. I start this game and would like to put it on my retropie cabinet. I've try with install java and on running i get error :

Code: Select all

Couldn't load shared library '' for the target: Linux, 32-bit on thread main-Animator#00
I found a topic in the libgdx github, that need to compile this library for arm linux 32 bits, this person have compile the 2 needed library for an arm arch but not optimized for raspberry. ... eabihf.txt ... eabihf.txt

I've send a mail and he tell me to remove the -mhard-float option and compile the library.
i've copy the compilation result in /usr/lib/jvm/jdk-8/jre/lib/arm/ folder, and i always have this error.

Someone with compilation option skills can look inside this ant build file and tell me what is the problem ?


Return to “C/C++”