Don't worry, i actually managed to solve the problem, it was indeed a mismatch in libgdxarmgnueabihf.so shipped with your rpi-enabled libgdx.
Maybe you cross-compiled them or indeed hade some different distro before/after. Btw, i'm not a c/c++ expert so maybe i'm talking nonsense, but are we sure we need to link to libstdc++.so ? If it's possible at all to avoid, it would be great becouse i'm afraid new versions of Raspbian/Retropie would require recompilation and that's pretty bad.
Anyway, to solve it i compiled the .so directly on the raspberry using your build-jni-for-rpi.sh (which btw has a copy/paste typo you should fix (double ant -f), i hope that's not the ultimate source of the problem
). It outputted some valid version of the libraries, i copied them on rpi-enabled libgdx, built it and it worked!
Great job clicky! I can report that:
- * gdx-controllers works great, but the event based version fire events continuously even if nothings is touched, while regular desktop version fires only if the controller was moved (not sure if the problem is in the controllers driver or in some point inside libgdx).
* JoglNewtApplication/JoglNewtApplicationConfiguration don't seem to honor the foregroundFPS and backgroundFPS. Are you the author of the jogl backend?
Another question, do you think rpi support will ever be merged into official libgdx ?