When i try to create a C++ project, with basic code, a get that error:
An error occurred while trying to generate project files.
Running D:/UE4/UE_4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/Rafael/Documents/Unreal Projects/MyProject/MyProject.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
UnrealBuildTool Exception: ERROR: Windows SDK v8.1 must be installed in order to build this target.
I’ve already installed Windows SDK 8.1 and 10, and i still get the error. (After installing both 8.1 and 10, i re-installed the 8.1 version to try to solve the problem, but nothing happened).