I have windows 8.1 I am using unreal 4.9 and I have VS community 2015.
Every time I try to compile my code I get the same errors.
Error 4 error : Failed to produce item: C:\Users\Cody\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll C:\Users\Cody\Documents\Unreal Projects\MyProject\Intermediate\ProjectFiles\ERROR MyProject
Error 3 error C1083: Cannot open include file: ‘windows.h’: No such file or directory c:\program files\epic games\4.9\engine\source\runtime\core\public\Windows\MinWindows.h 62 1 MyProject
Error 5 error MSB3073: The command ““C:\Program Files\Epic Games\4.9\Engine\Build\BatchFiles\Build.bat” MyProjectEditor Win64 Development “C:\Users\Cody\Documents\Unreal Projects\MyProject\MyProject.uproject” -rocket” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 MyProject
Error 1 error RC1015: cannot open include file ‘windows.h’. C:\Program Files\Epic Games\4.9\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc 10 1 MyProject
Error 2 error RC1015: cannot open include file ‘windows.h’. C:\Program Files\Epic Games\4.9\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl 3 1 MyProject
I have tried reinstalling SDK, VS, and unreal, I have tried changing the include path. I have tried running it through unreal and VS. None of it has worked.