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

"static-link" doesn't work for "sdl2 0.35.2" on OSX #319

Open
Im-Oab opened this issue Aug 2, 2022 · 0 comments
Open

"static-link" doesn't work for "sdl2 0.35.2" on OSX #319

Im-Oab opened this issue Aug 2, 2022 · 0 comments
Labels
Type: Bug Problems with the code/documentation that need to be fixed.

Comments

@Im-Oab
Copy link

Im-Oab commented Aug 2, 2022

Summary

Hi, I am writing this for anyone with the same issue and looking for a solution to solve/avoid it.

Summary:

Buld the app with sdl2 = { version = "0.35.2", features = ["bundled", "static-link"] } on OSX Catalina will throw build error.

I think It is related to this issue Rust-SDL2/rust-sdl2#1203

I work around it by changing the version to
sdl2 = { version = "0.35.1", features = ["bundled", "static-link"] }
sdl2-sys = "=0.35.1"

Steps to Reproduce

Build app on OSX (Catalina) with sdl2 = { version = "0.35.2", features = ["bundled", "static-link"] }

Additional Info

No response

@Im-Oab Im-Oab added the Type: Bug Problems with the code/documentation that need to be fixed. label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Problems with the code/documentation that need to be fixed.
Projects
None yet
Development

No branches or pull requests

1 participant