This happens when you use x32 libs with an x64 compiler or vice versa. I recommend installing prebuilt SDL3 and MinGW from MSYS2, those are guaranteed to be compatible.
↧