I also had problems installing ROOT on Windows 10. This is the topic I had. You could try some of the suggestions there, like making sure you installed Visual Studio with “Desktop development with C++”.
I eventually ended up installing ROOT in Ubuntu for Windows, and I described my process at the above link.