Lokathor / fermium

An easy to build and use set of SDL2 bindings.
https://docs.rs/fermium
60 stars 14 forks source link

update to SDL2-2.24.1, move to new build system #90

Closed Lokathor closed 1 year ago

Lokathor commented 1 year ago

the new build system is that you get a "dynamic system" build (and using provided files on windows), or a "bundled static" build.

in the case of the dynamic static build, you're likely to be dynamically linked to an older SDL2, but that's fine, because "older SDL2" at this point means like 2.0.14 or 2.0.16, and the crate basically hasn't added any later functions anyway because the rust side of things hasn't been updated in a while. Not sure if we want to make each new SDL2 version use features or just tell people "don't call functions your system doesn't have!" or what.

Lokathor commented 1 year ago

Oops, CI is busted because the SDL2.dll isn't in the top level folder any more. I can fix the CI script to copy the one in the devel folder up into the top level some time soon.

Lokathor commented 1 year ago

Confirmed to work with the system SDL2 on rpi4 using Raspberry Pi OS (32-bit) and Raspberry Pi OS (64-bit)