Trying to build OpenLara core on Raspberry Pi

Hi there,

I was trying to build this core on the Pi3b+, in order to measure performance on this little wonder, but it seems it’s still trying to include the GLX stuff:

pi@raspberrypi:~/retro/src/OpenLara/src/platform/libretro$ make platform=pi -j4
g++  -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/vmcs_host/linux -O3 -fPIC -std=c++11 -I. -I./../.. -I./glsym  -DHAVE_OPENGLES -DHAVE_OPENGLES2 -D__LIBRETRO__ -fPIC -c -o main.o main.cpp
In file included from ../../core.h:600:0,
                 from ../../game.h:4,
                 from main.cpp:10:
../../gapi_gl.h:90:24: fatal error: GL/glx.h: No such file or directory
     #include <GL/glx.h>
                        ^
compilation terminated.
Makefile:219: recipe for target 'main.o' failed
make: *** [main.o] Error 1

So, is this core supposed to work on non-X, GLES platforms?

Also, since upstraeam OpenLara can play the game sequence itself, level after level, what data file should I point OpenLara RA core to? I have all these file:

pi@raspberrypi:~/retro$ ls -R tr_data 
tr_data:
DELDATA  FMV  FMV_PSX  PSXDATA  audio

tr_data/DELDATA:
AMERTIT.RAW  ATLANLOA.RAW  AZTECLOA.RAW  CRED.RAW  EGYPTLOA.RAW  END.RAW  FMVTAB.DAT  GREEKLOA.RAW  GYMLOAD.RAW

tr_data/FMV:
CAFE.RPL  CANYON.RPL  CORE.RPL  END.RPL  ESCAPE.RPL  LIFT.RPL  MANSION.RPL  PRISON.RPL  PYRAMID.RPL  SNOW.RPL  VISION.RPL

tr_data/FMV_PSX:
CAFE.FMV  CANYON.FMV  CORELOGO.FMV  END.FMV  LIFT.FMV  MANSION.FMV  PRISON.FMV  PYRAMID.FMV  SNOW.FMV  VISION.FMV

tr_data/PSXDATA:
CUT1.PSX  CUT3.PSX  GYM.PSX     LEVEL10A.PSX  LEVEL10C.PSX  LEVEL3A.PSX  LEVEL4.PSX  LEVEL6.PSX   LEVEL7B.PSX  LEVEL8B.PSX  TITLE.PSX
CUT2.PSX  CUT4.PSX  LEVEL1.PSX  LEVEL10B.PSX  LEVEL2.PSX    LEVEL3B.PSX  LEVEL5.PSX  LEVEL7A.PSX  LEVEL8A.PSX  LEVEL8C.PSX

tr_data/audio:
1  2  3

tr_data/audio/1:
track_02.ogg  track_09.ogg  track_16.ogg  track_23.ogg  track_30.ogg  track_37.ogg  track_44.ogg  track_51.ogg
track_03.ogg  track_10.ogg  track_17.ogg  track_24.ogg  track_31.ogg  track_38.ogg  track_45.ogg  track_52.ogg
track_04.ogg  track_11.ogg  track_18.ogg  track_25.ogg  track_32.ogg  track_39.ogg  track_46.ogg  track_53.ogg
track_05.ogg  track_12.ogg  track_19.ogg  track_26.ogg  track_33.ogg  track_40.ogg  track_47.ogg  track_54.ogg
track_06.ogg  track_13.ogg  track_20.ogg  track_27.ogg  track_34.ogg  track_41.ogg  track_48.ogg  track_55.ogg
track_07.ogg  track_14.ogg  track_21.ogg  track_28.ogg  track_35.ogg  track_42.ogg  track_49.ogg  track_56.ogg
track_08.ogg  track_15.ogg  track_22.ogg  track_29.ogg  track_36.ogg  track_43.ogg  track_50.ogg  track_57.ogg

tr_data/audio/2:
readme.txt

tr_data/audio/3:
readme.txt