For some reason when ever I make a new project in 4.0.2 it won’t build properly. I start with a fresh new file from one of the templates. I don’t change anything at all, not a single line of code, not even a semicolon but every time I get an error. The error I get is this:
1>------ Build started: Project: BasicCode1, Configuration: DebugGame_Editor x64 ------
1> Parsing headers for BasicCode1Editor
1> Code generation finished for BasicCode1Editor and took 4.326
1> rc.exe BasicCode1.rc
1> PCH.BasicCode1.BasicCode1.h.cpp
1>C:\Users\mohammad\Documents\Unreal Projects\BasicCode1\Source\BasicCode1\Resources\Windows\BasicCode1.rc(11): fatal error RC1015: cannot open include file 'windows.h'.
1>
1>C:\Program Files\Unreal Engine\4.0\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(8): fatal error C1083: Cannot open include file: 'new': No such file or directory
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: C:\Users\mohammad\Documents\Unreal Projects\BasicCode1\Binaries\Win64\UE4Editor-BasicCode1-Win64-DebugGame.dll
1> Cumulative action seconds (6 processors): 0.00 building projects, 0.34 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
1> UBT execution time: 9.51 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""C:\Program Files\Unreal Engine\4.0\Engine\Build\BatchFiles\Build.bat" BasicCode1Editor Win64 DebugGame "C:\Users\mohammad\Documents\Unreal Projects\BasicCode1\BasicCode1.uproject" -rocket" exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
If anyone can help me out that would be great, because this is really frustrating me.