So I followed the guide here:
https://choccyhobnob.com/raspberry-pi/s ... pberry-pi/
And tweaked slightly based on https://github.com/FrankBau/raspi-repo- ... /wiki/SDL2
To try and get an SDL2 install that works from console.
SDL2 builds and installs perfectly. However, no matter what I do when I try to use it
SDL_Init(SDL_INIT_VIDEO) always errors with no video device available.
I've tried using int driverCount = SDL_GetNumVideoDrivers(); which is reporting a list available dummy, wayland and x11.
Has anyone else had this problem or have any suggestions ?
In addition I've also seen posts that even for those who have this working it won't work via GDB / remote debugging, is that the case ?