Question about SDL's extensions.

Does sdl’s extensions like SDL2_image, SDL2_mixer, SDL2_ttf support all platforms which are supported the same with SDL2 core lib? They can run at win/linux/macos/android/ios/swtich?

I can’t speak for the Nintendo Switch. But for all the other platforms you have mentioned, they are supported!

ok, thanks for your answer!

For the most part, they will work everywhere that SDL does, and it’s almost certainly a bug if they don’t.

That being said, you often need to coerce other libraries to build on a given platform: for example, SDL_ttf works on a Nintendo Switch, and so does the FreeType library that it uses under the hood, but FreeType was pretty tedious to build on the Switch. But it worked once I figured out how to compile it!

1 Like