Making a new C++ project won't compile

I tried to make a Unreal Engine 4 project, but it gives this error:
The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe ShooterGame Development Win64 -project=“C:/Users/groch/Documents/Unreal Projects/ShooterGame/ShooterGame.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for ShooterGame (no existing makefile)
@progress push 5%
Parsing headers for ShooterGameEditor
Running UnrealHeaderTool “C:\Users\groch\Documents\Unreal Projects\ShooterGame\ShooterGame.uproject” “C:\Users\groch\Documents\Unreal Projects\ShooterGame\Intermediate\Build\Win64\ShooterGameEditor\Development\ShooterGameEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for ShooterGameEditor in 15,057138 seconds
@progress pop
ERROR: Windows SDK v8.1 must be installed in order to build this target.

When I try to press on “Open in Visual Studio” it gives this error:
Could not edit the code editing IDE. C:/Users/groch/Documents/Unreal Projects/R/R.sln could not be found.

I’m new to the engine and C++, can someone help me?

You’re missing the Windows 8.1 SDK. You can install it by going to Add/Remove Programs and selecting to modify Visual Studio. In the list of components you can choose to install is the Windows 8.1 SDK.