Download

problem compiling empty C++ project

Hi guys!
I have a problem compiling empty C++ project:

Project could not be compiled. Would you like to open it in Visual Studio?
Running C:/Program Files (x86)/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project=“E:/Programming/Unreal Engine/UET1/MyProject/MyProject.uproject” -rocket -editorrecompile -progress -noubtmakefiles -2015
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool “E:/Programming/Unreal Engine/UET1/MyProject/MyProject.uproject” “E:\Programming\Unreal Engine\UET1\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\UnrealHeaderTool.manifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -rocket -installed
Reflection code generated for MyProjectEditor in 29,2614431 seconds
@progress pop
Performing 7 actions (2 in parallel)
[2/7] Resource PCLaunch.rc
C:\Program Files (x86)\Epic Games\4.10\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc(10) : fatal error RC1015: cannot open include file ‘windows.h’.
PCH.MyProject.h.cpp
[3/7] Resource ModuleVersionResource.rc.inl
C:\Program Files (x86)\Epic Games\4.10\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file ‘windows.h’.
C:\Program Files (x86)\Epic Games\4.10\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5): fatal error C1083: Cannot open include file: ‘new’: No such file or directory
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: E:\Programming\Unreal Engine\UET1\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
Total build time: 220,01 seconds

As I looking around the forums I tryed to check what the other guys faced with.

  1. Must be installed Windows SDK, Direct X SDK June 2010, Visual Studio Community 2015. (Checked)
  2. Don’t use ‘special’ chars in your Windows account name. (Checked)
  3. Set “inherit from parent or project defaults” in VS Incude Directories property. (Checked)
  4. My Environment Variable Values are:
    Path c:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;%USERPROFILE%.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm
    VS120COMNTOOLS C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools
    VS140COMNTOOLS C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\

I would be thankful if someone could help me.

Problem solved after regular reinstall UE4.