Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX
Posted by
Patman on
Sep 06, 2016; 6:09pm
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4037100.html
Hi guys, I've been trying to get my game to run on Raspberry Pi 3 with no luck. I followed all the instructions I think. I downloaded the latest libgdx from
https://github.com/gouessej/libgdx and ran "mvn install" to compile everything. Then I added mavenLocal() to my build.gradle and the game successfully runs on my Mac with the jogamp backend.
My problem comes when I try to run the game on Raspberry Pi 3. I exported the runnable jar of my Desktop launcher and put Xerxes' pre-compiled .so files next to the jar where it could find them. But then I get the following error when I try to run the jar:
libEGL warning: DRI2: failed to authenticate
java: symbol lookup error: /tmp/jogamp_0000/file_cache/jln1761022937348860019/jln6781593485722951177/natives/linux-armv6hf/libnewt.so: undefined symbol: bcm_host_init
I have absolutely no clue what to do with this. I built the game on Mac if that makes any difference. Also, does it matter that the .so files were made over a year ago and I'm using GDX 1.9.3 with them? I tried following the instructions to build my on .so files on Pi but the very first line "git cherry-pick 9f5f99a2e7532827c631d54abc331c8c83df1dea" gives me the following error:
fatal: bad object 9f5f99a2e7532827c631d54abc331c8c83df1dea
I guess it isn't available on Git anymore and I'm not experienced enough to know where to go from here. Can anyone tell me what I'm doing wrong or how to fix it? Help would be greatly appreciated. Thanks!