Sam Lantinga
Sam Lantinga
FYI, I had the SDL_mixer build configs swapped, I've updated them above.
> Building SDL3_mixer on ci, I see these link errors: > > ``` > 2024-10-08T21:30:50.6409800Z Undefined symbols for architecture arm64: > 2024-10-08T21:30:50.6412310Z "_native_midi_active", referenced from: > 2024-10-08T21:30:50.6412910Z _NATIVEMIDI_IsPlaying in music_nativemidi.o...
> Can you also look at this SDL_ttf xcode error? > > ``` > 2024-10-09T02:31:21.7747910Z error: Build input file cannot be found: '/Users/runner/work/SDL_ttf/SDL_ttf/tardir/SDL3_ttf-3.0.0/Xcode/SDL_surface_textengine.c'. Did you forget to declare this file...
That's not expected, and I'm seeing that here as well. Digging in...
> I've been told the ogg xcframework also needs to be part of the dmg because opus depends on it. That's correct. > SDL3_Mixer's xcode project contains `OPTIONAL_FRAMEWORKS="FLAC gme mpg123...
Yes, the Xcode project handles it differently. In that case we don't dynamically load them, instead we link them as a weak framework, which allows it to be optional.
I will look at the SDL_mixer project next week. We'll have the next SDL prerelease on November 1, and SDL_ttf won't be ready by then, so we're fine.
Okay, I double checked and the FLAC and MP3 support are using the mini-versions included in the codecs directory, so we're good to go here.
This seems like a good idea to me, however the hint should probably be respected by default, to provide ABI compatibility with existing applications. @icculus, thoughts?