Skip to content
scottferg edited this page Oct 8, 2012 · 1 revision

To build on Linux

    $ sudo apt-get install libsdl1.2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev
    $ go get -u github.com/0xe2-0x9a-0x9b/Go-SDL/sdl
    $ go test
    $ go build

To build on OSX

    $ brew install sdl sdl_image sdl_gfx
    $ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig go get -u github.com/0xe2-0x9a-0x9b/Go-SDL/sdl
    $ go test
    $ go build
Clone this wiki locally