I’m just getting started with SDL on Raspberry Pi, and I’m new to both. I followed the “Idiot’s guide to C++/SDL Setup” on the Rpi forum and I’m up and running with that example (rectangle on full screen). My needs for SDL are simple - take over the full screen and paint a simple status display using some rectangles, lines and text.
This uses v1.2 of SDL - and that’s working fine.
I want to render some text, so based on a little research I need to include SDL_TTF. Do I sudo…install libsdl-ttf2.0-dev and will it run with v1.2? Do I also need libsdl-image1.2-dev?
Is there a simpler way to render text? I don’t need fancy fonts.
Thanks. Any help would be appreciated.