Install libsdl2-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libsdl2-dev
Simple DirectMedia Layer development files
SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard. . This package contains the files needed to compile and link programs which use SDL.