And my question heris: where is the compiled software and how to run it?
Remember Raspbian is a Debian-based computer operating system for Raspberry Pi
sudo apt-get install build-essential
you also need to check if it is already installed
Get the linux generic release http://www.libsdl.org/download-2.0.php and unzip it in any directory. The really neat thing is the necessary Debian install files are provided and will setup automatically.
2) Install - Navigate to the Debian subdirectory. The instructions are in the text file "install.txt". All that is needed is to go to the unzip directory as root and run the following command './configure; make; make install'
SDL needs several support libraries to be able to use images and fonts.
The packages are located at http://www.libsdl.org/projects/
SDL2_image-2.0.0 - bmp is built in but you need this for jpg, png etc.
SDL2_mixer-2.0.0 - audio support
SDL2_net-2.0.0 - network support
SDL2_ttf-2.0.12 - trutype font support
SDL_rtf-0.1.0 - rich text format support
Image Support, SDL2_image-2.0.0 - instructions are for 'root' user (you can also use sudo)
1) Download the package from http://www.libsdl.org/projects/
3) cd to the working directory
5) ./configure && make && make install
a guide to install gcc 9 on raspbian : https://solarianprogrammer.com/2017/12/ ... -programs/
Compiling so be something like this
gcc `sdl2-config --cflags --libs` -lstdc++ $LIB $GLIB $INC $GINC -v -o $1 $2 >> compile.log 2>&1