-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Compile broken with old SDL? #496
Comments
Thanks, @shish for reporting the issue! I have pushed the fix to |
Also broken with SDL 2.0.10.
Since this commit: 06f44fa This function is only available in SDL 2.0.18. |
Hi @AXDOOMER, thanks for reporting the issue! I have fixed it in the latest tag release |
Looks like another one just appeared
Using latest go-sdl2 and libsdl 2.0.10 Example of a build that was working a couple of days ago and not today: https://github.com/shish/rosettaboy/runs/7602639263 |
Hi @shish, did it really use the latest go-sdl2 which is |
Looks like I was actually ignoring (I am not a go expert, I don't even know how to install specific versions of things >.>) |
Bumping go.sum to use v0.4.24 also seems to hit the same error |
Actually, this happens before even getting to my code at all - just taking a fresh github actions VM, running |
Hi @shish , it seems like the container is using Go provided by Ubuntu 18.04 which is relatively old at |
I'm not sure where you're seeing ubuntu-18.04 / golang 1.10 -- I was using the ubuntu-20.04 base with golang 1.13 :S (See the "install deps" logs in https://github.com/shish/rosettaboy/runs/7602639263?check_suite_focus=true ) However, using the "ubuntu-22.04 beta" container with golang 1.18 + libsdl2 2.0.20 appears to work, so that's enough for me :) |
Oh I'm sorry, I must have confused it with another new issue which has the same issue as yours and same way of using Ubuntu's Go package. It seems like it might not only be the Go version issue as our Github Actions for |
Trying to build inside github actions, where the current version of SDL is 2.0.8
It looks to my eyes like the
SDL_LockTextureToSurface
stub for pre-2.0.12 versions is missing a body?go-sdl2/sdl/render.go
Line 193 in 0abc017
The text was updated successfully, but these errors were encountered: