Simple implementation of pong using SDL2 to test if SDL2 works.
Go to file
2023-10-06 17:30:56 +02:00
include initial commit 2023-10-06 17:30:56 +02:00
src initial commit 2023-10-06 17:30:56 +02:00
.clang-format initial commit 2023-10-06 17:30:56 +02:00
.gitignore initial commit 2023-10-06 17:30:56 +02:00
Makefile initial commit 2023-10-06 17:30:56 +02:00
README.md initial commit 2023-10-06 17:30:56 +02:00

This is an example project to test if SDL2 is working on WSL2

Required software

You need to install the SDL2 development library. On Debian based systems such as Ubuntu or Linux Mint, you can run

sudo apt install libsdl2-dev

You will also need gcc and make to build the project and gdb if you want to debug the project. Further clang-formatt can be used to format the project.

These can all be installed using

sudo apt install build-essential gdb clang-format

Building the project

In the main directory, simply run make with no arguments to build the project. You can run make run to run the built project and you can run make debug to debug the project using gdb.