Unable to Build C++ Projects

I cannot build C++ projects, and I can’t figure out why. When I create a new project it will start building the code then generate this error:

When I click “Open with Visual Studio”, it attempts to do so then gives this error:


When I go to my library and try to open that project, I get this:


And then when I select “Yes” I get this:


Can anyone tell me what’s causing this and how to resolve it? As it stands, I’m completely unable to make code-based projects. I’ve uninstalled and reinstalled both Visual Studio and Unreal, to no effect. Any suggestions?

Due to the error message in first picture, seems you need to install Windows SDK v8.1

Thank you!