So this would be a simple software renderer. At the moment it opens an md2 file. MD2 is a format for storing 3d modeles created for the ancient Quake II engine. Quite easy to work with. The model comes from the excellent game Assault Cube.
On Ubuntu 16 or similar:
sudo apt-get install libsdl1.2-dev