Why can't I make a C++ project?

My error message is below:

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe Shoot Development Win64 -project="C:/Users/qingfeng/Documents/Unreal Projects/Shoot/Shoot.uproject" -rocket -editorrecompile -progress -noubtmakefiles
InitD3DDevice
Parsing headers for ShootEditor
Reflection code generated for ShootEditor
Performing 10 actions (2 in parallel)
[2/10] Resource ModuleVersionResource.rc.inl
C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file 'windows.h'.
PCH.Shoot.h.cpp
C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5) : fatal error C1083: Cannot open include file: 'new': No such file or directory
[3/10] Resource PCLaunch.rc
C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc(10) : fatal error RC1015: cannot open include file 'windows.h'.
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: C:\Users\qingfeng\Documents\Unreal Projects\Shoot\Binaries\Win64\UE4Editor-Shoot.dll
Total build time: 24.95 seconds

Sorry, this is my first time using Unreal Engine and I have looked at other questions but they have been unable to help me.

-Thanks!

What version of Windows and Visual Studio are you using? Do you have the Windows 8.1 SDK installed?

Hello, BoboFett42

I am sorry to hear about your problem.

It looks like your Visual Studio installation is broken.

Thus, please check whether Visual Studio’s InstallDir property is correct (it should look something like this:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE).

Also, please make sure that environment variable Path is set correctly in your system (e.g. **C:\Windows\System32**).

Finally, you can try repairing/reinstalling Visual Studio. Please don’t forget to reboot after installation.

Hope this helped!

Cheers!

I can get up to C:\Program Files (x86)\Microsoft Visual Studio 12.0 but I have no Common7 or IDE. I have Visual Studio 2017 Community. Should it still work? By the way it also does not say 12.0 and the files I have next are 2017, Installer, or Shared. Help? I am currently working on a project and some assets are only on C++.

This is not an answer

Should I download this?

Make sure visual studio is installed on the same hard drive as unreal engine 4