Go-SDL
Go-SDL copied to clipboard
Fail to build
Just cloned the source (rev 8309d2a) and tried to build, but it fails immediatelly with following output:
gomake -C sdl
make[1]: Entering directory /home/v0idexp/Builds/Go-SDL/sdl' 6g -o _go_.6 constants.go structs.6.go _obj/sdl.cgo1.go _obj/_cgo_gotypes.go sdl.go:4[_obj/sdl.cgo1.go:7]: can't find import: errors make[1]: *** [_go_.6] Error 1 make[1]: Leaving directory
/home/v0idexp/Builds/Go-SDL/sdl'
make: *** [all] Error 2
Update your Go compiler.
I have the same issue, I have the latest tip of go, even tried 'revision.r60'. tried gocode from another ticket, no luck getting errors.
This is when the change was introduced in Go:
http://code.google.com/p/go/source/detail?spec=svn7ec969250bfc8948d53ea3d6a9bceb6cbbc7b859&r=b1c079c01a0a3ccd68410347370a66fb14c82ed0
And in Go-SDL:
https://github.com/banthar/Go-SDL/commit/cc10a4621647f88b2ca7d6b741a42c9efa507b36
You need either older Go-SDL or newer go. Try hg update weekly
.
I will try to do something to keep Go-SDL more in sync with go releases.