sdl3

Cross-platform C library for low-level audio, input, and graphics

brewmacoslinux
Try with needOr install directly
Source

About

Low-level access to audio, keyboard, mouse, joystick, and graphics

Commands

sdl3

Examples

Check SDL3 installation and version information$ pkg-config --modversion sdl3
Compile a simple SDL3 application with required flags$ gcc myapp.c $(pkg-config --cflags --libs sdl3) -o myapp
Get SDL3 compiler flags and library paths for build systems$ pkg-config --cflags --libs sdl3