cpp-sdl2-setup
An example project with SDL2, SDL2_image, and other stuffs.
Make sure you have g++ and MinGW installed for compiling
For Arch based distros you'll need this before compiling
sudo pacman -S mingw-w64-gcc sdl2 sdl2_image
For Raspbian 32bit you'll need this before compiling
sudo apt install build-essential libsdl2-dev libsdl2-image-dev
To compile open a terminal and enter
make release -j4
Then to run the app either navigate to bin/release/ or enter
make run-release