@ryo Only problem with SFML is that they refuse to add Wayland support.
@ryo I never used SDL directly. I have tried SFML, but my C++ knowledge (namely using pointers and dynamic variables effectively) was limited at the time. I'd say it's much easier than SDL since it has built-in features like a 2D camera and networking.
I would probably recommend SDL over SFML only because SDL is supported on more platforms, namely obscure ones like Haiku, RISC OS, Amiga OS, etc. I do know that SFML doesn't support Wayland so it isn't compatible with Linux distros using that. In fact, SFML doesn't even support iOS and Android yet.