Implementing Pong using SDL2 for running the following pong.cpp: g++ pong.cpp -lSDL2 -lSDL2_ttf -o out && ./out Above would only work if SDL2 and SDL2_ttf is already installed.