It seems when the package cannot successfully compile when using SDL2 2.0.9 and Go 1.7.
The output is something like this:
$ go install
# github.com/veandco/go-sdl2/sdl
/tmp/go-build115861125/github.com/veandco/go-sdl2/sdl/_obj/_cgo_main.o:(.data.rel+0x0): undefined reference to `SDL_STANDARD_GRAVITY'
collect2: error: ld returned 1 exit status
I suspect it's something to do with older Go not supporting usage of floating point macro definition.
It seems when the package cannot successfully compile when using SDL2 2.0.9 and Go 1.7.
The output is something like this:
I suspect it's something to do with older Go not supporting usage of floating point macro definition.