Failing to install ROOT on Windows

You have to install Visual Studio 2019, and make sure you select the “ Desktop development with C++ ”, including the Windows 10 SDK (the latest one and the version 10.0.17134.0 for compatibility reasons)