-
Notifications
You must be signed in to change notification settings - Fork 491
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
rust-sdl2 fails to build on Windows #980
Comments
For the time being, |
Yup, it does build. I'll leave the issue open until the regression is fixed then, I assume |
My bad, in those two lines we need to replace |
saucesaft
added a commit
to saucesaft/rust-sdl2
that referenced
this issue
Apr 16, 2020
Merged
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran into this issue while trying to set up Github Actions with my project. The Linux build passes just fine, but for some reason, the same build on Windows fails. The offending lines seem to the on rwops.rs
rust-sdl2/src/sdl2/rwops.rs
Line 134 in f9e6c2a
rust-sdl2/src/sdl2/rwops.rs
Line 144 in f9e6c2a
More specifically, the
as u64
cast. The build output complains that both lines should be usingas u32
instead, which does fix the build, but I'm not sure if it's the proper fix or if there's something else going on that I'm not aware of.I attached both the normal and the verbose build logs below. My project builds using both
bundled
andstatic-link
btw.output_normal.log
output_verbose.log
The text was updated successfully, but these errors were encountered: