Skip to content

ryanpcmcquen/SDL2_template

Repository files navigation

This project compiles under Linux, Mac OS, and Windows simply by running:

Linux & Mac:

make

Windows:

nmake

Pre-setup:

Linux:

sudo apt-get install libsdl2-dev

Or whatever the equivalent package is for your distro.

Mac:

brew install sdl2

Windows:

  1. Download the latest VC development files from: https://libsdl.org
  2. Place the entire contents of include and lib under C:\INCLUDE\SDL2.
  3. Copy the SDL2.dll under lib to C:\Windows\System32 and C:\Windows\SysWOW64.
  4. Profit.

Special thanks to this tutorial: https://headerphile.com/sdl2/sdl2-part-0-setting-up-visual-studio-for-sdl2/

Bonus: This project is importable as a Visual Studio 2019 template.

About

A cross platform SDL2 template.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published