Hi I am trying to write a breakout clone using SDL to work on the GameShell.
When I run it on the GameShell, SDL_Init(SDL_INIT_EVERYTHING) fails with
x11 not available.
I am running my game like this in the shell script:
SDL_VIDEODRIVER=x11 DISPLAY=:0 LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/ ./breakout 2> breakout.err 1> breakout.log
If I remove the
SDL_VIDEODRIVER variable I get this error:
No available video device
Has anyone tried to make an SDL app for the GameShell and run into these errors?