This is an example C++ application using the SDL2 library.
On Fedora (64bit) you can install the SDL2 library as follows:
$ sudo dnf install SDL2-devel.x86_64 SDL2_image-devel.x86_64 SDL2.x86_64 SDL2_image.x86_64
The easiest way to compile is to use a command-line (tested using g++ (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1))
$ make fedora
$ make raspbian
After running the makefile relevant to your Operating System, an executable file called "starship" will be produced in the top-level directory. To execute this file do the following from the top-level directory:
$ ./starship
The game will expect to find the assets
directory under its current working directory.
The sprites in this game come directly from SpriteLib and are used under the terms of the CPL 1.0.