SDL2 for Nim
This package contains the bindings for SDL2 to Nim.
Pre-requisites
You must install the SDL2 C libraries before these Nim bindings can be used.
macOS with Homebrew
If you don't already have Homebrew installed, install it from the Homebrew site.
Install the SDL2 C libraries:
brew install sdl2{,_gfx,_image,_mixer,_net,_ttf}
Linux
Install SDL2 development libraries using your distribution's packaging tool of choice.
Windows
TODO
Installation
Add requires "sdl2"
to your .nimble
file.
You can also install manually with nimble install sdl2
if your project does not yet have a nimble package file.
For more information on using nimble, consult the nim documentation.
Documentation
For documentation about SDL2 see wiki.libsdl.org.