Open voidexp opened 12 years ago
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:
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.
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