You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in SDL's CMakeLists.txt before running this and set SDL_VIDEO_RENDER_METAL=1 for target_os == "darwin" then we can get both of those feature flags to work.
Obviously this belongs in upstream, but the process of getting pull requests to SDL is a bit tricky, I am hoping we can fix it in the crate by just injecting it into the string right before:
It turns out that the "static-link" feature flag for the `sdl2-sys`
crate doesn't link `SDL2_Image` nor `SDL2_TTF`) into it, and the
"bundled" feature flag only fetches the main `libsdl2` library at build
time and not `SDL2_Image`. Plus, it seems that "bundled" and
"static-link" are also broken in other ways, at the time of writing:
Rust-SDL2/rust-sdl2#778Rust-SDL2/rust-sdl2#851Rust-SDL2/rust-sdl2#858Rust-SDL2/rust-sdl2#1017Rust-SDL2/rust-sdl2#1029Rust-SDL2/rust-sdl2#1034
For the sake of reliability, this commit disables both Cargo feature
flags described for the `sdl2` dependency (thereby requiring the user to
install external dependencies) and introduces a detailed setup guide in
the `README.md` for Windows, macOS, and Linux.
Uh oh!
There was an error while loading. Please reload this page.
If we can sorta squeeze in
in SDL's
CMakeLists.txt
before running this and setSDL_VIDEO_RENDER_METAL=1
fortarget_os == "darwin"
then we can get both of those feature flags to work.Obviously this belongs in upstream, but the process of getting pull requests to SDL is a bit tricky, I am hoping we can fix it in the crate by just injecting it into the string right before:
The text was updated successfully, but these errors were encountered: