SDL_IntersectFRect() missing on Steam Deck?

Tried to pull my SDL2 project over to a Steam Deck and build and ran into some kind of strange SDL mismatch.

The first errors from the compiler claimed SDL_IntersectFRect() was not declared (the compiler suggested that perhaps I meant the (integer-based) SDL_IntersectRect()).

Linux and where things are located (and what the versions of the packages is, etc.) are very new to me.

Perhaps, if I knew what I was doing, could I compile SDL2 directly into my app and therefore have control of the version? Or at least pull down some Linux-friendly pre-compiled libraries that have all the symbols my app is expecting?

1 Like