The default Windows installer bundles the compiler and a text editor to make poking at C to get graphics on the screen (accelerated or not) a 1 step process. Raylib is also extremely cross platform, has bindings in about every language, and has extra (also header only, 0 dependency) optional libraries for many adjacent things like audio or text rendering.
When I first started to learn C/C++ in the 2000s I spent more time fighting the IDE/Windows/GCC or getting SDL/SFML to compile than I did actually playing with code - and then it all fell apart when I tried to get it working on both Linux and Windows so I said fuck it and ignored that kind of programming for many years. Raylib is about going the opposite direction - start poking at C code (or whatever binding) and having it break and worry about the environment later when you're ready for something else.
Although I may imagine newbies may face some challenges dealing with compiler flags.
The problems already start with getting the precompiled libraries from a trusted source. As far as I'm aware the SDL project doesn't host binaries for instance.
1 - Open https://www.libsdl.org/
2 - Download section on bottom left => SDL Releases
It has been there at least since SDL 2.0 early days, not feeling like tracking changes on Wayback Machine.
What should be minimized is the accidental complication of compiling libraries and programs, for example convoluted build systems and C++ modules.
I think the real answer to educating people about making games without the complications of low level programming would be using a framework like Godot or languages like Python or Lua.
What if you cannot adopt some library that would do something very useful because you lack the skill integrate or replace CMake or Bazel or Autoconf? Unnecessary technical constraints impact game quality.
What if due to insufficient automation the time between tests after making a very small change is 10 minutes rather than 10 seconds? Reduced productivity impacts game quality.
Or, more simply, it makes the process "easy as a scripting language" rather than "pretty easy".