Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to build #46

Open
voidexp opened this issue Dec 1, 2011 · 3 comments
Open

Fail to build #46

voidexp opened this issue Dec 1, 2011 · 3 comments

Comments

@voidexp
Copy link

voidexp commented Dec 1, 2011

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

@banthar
Copy link
Owner

banthar commented Dec 1, 2011

Update your Go compiler.

@ghost
Copy link

ghost commented Dec 27, 2011

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.

@banthar
Copy link
Owner

banthar commented Dec 27, 2011

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:

cc10a46

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants