Error windows.h by creating c++ project

FIX

You need to add “C:\Windows\System32;C:\Windows\SysWOW64” to your path.

Realy thanks to Camron!


I have a problem with making a c++ projects.

  • Hello,

  • I can make blueprint projects.

  • But no C++ projects.

  • When i try to make a c++ project, i
    get this error.


Running D:/EpicGames/Epic
Games/4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe
NewProject Development Win64
-project="D:/User Folder/Documenten/Unreal
Projects/NewProject/NewProject.uproject"
-rocket -editorrecompile -progress -noubtmakefiles Parsing headers for NewProjectEditor Reflection code
generated for NewProjectEditor
Performing 7 actions (4 in parallel)
[2/7] Resource
ModuleVersionResource.rc.inl [3/7]
Resource PCLaunch.rc
D:\EpicGames\Epic
Games\4.8\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc(10)
: fatal error RC1015: cannot open
include file 'windows.h'.
D:\EpicGames\Epic
Games\4.8\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3)
: fatal error RC1015: cannot open
include file 'windows.h'.
PCH.NewProject.h.cpp
D:\EpicGames\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
-------- End Detailed Actions Stats ----------------------------------------------------------- ERROR: UBT ERROR: Failed to produce
item: D:\User
Folder\Documenten\Unreal
Projects\NewProject\Binaries\Win64\UE4Editor-NewProject.dll
Total build time: 30,22 seconds

I tried:

  • Reinstalling UE4
  • Reinstalling Visual studio 2013
  • My windows name does not have special
    letters

All the errors im getting are:

  • RC1015

  • C1083

  • I hope someone can help me!

.

  • So, Thank you!

FIX

You need to add “C:\Windows\System32;C:\Windows\SysWOW64” to your path.

Realy thanks to Camron!