# Problem creating new project in 4.7.1

**URL:** <https://forums.unrealengine.com/t/problem-creating-new-project-in-4-7-1/309045>\
**Category:** Community & Industry Discussion\
**Tags:** project, unreal-engine, UE4, question\
**Created:** [March 4, 2015, 12:34am UTC](https://forums.unrealengine.com/t/problem-creating-new-project-in-4-7-1/309045 "2015-03-04T00:34:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpedrocd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jpedrocd](https://forums.unrealengine.com/u/jpedrocd)\
**Post date:** [March 4, 2015, 12:34am UTC](https://forums.unrealengine.com/t/problem-creating-new-project-in-4-7-1/309045/1 "2015-03-04T00:34:46Z")

</div>

Hey, i can´t create any project in c++ because the program reports an error generating the code. here´s the log. Can someone help?

The project failed to compile with this version of the engine. Build output is as follows:

Running C:/Program Files/Epic Games/4.7/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject2 Development Win64 -project=“C:/Users/JoãoPedro/Documents/Unreal Projects/MyProject2/MyProject2.uproject” -rocket -editorrecompile -progress  
Parsing headers for MyProject2Editor  
Reflection code generated for MyProject2Editor  
Performing 10 actions (4 in parallel)  
[3/10] Resource MyProject2.rc  
[2/10] Resource ModuleVersionResource.rc.inl  
C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file ‘windows.h’.

C:\Users\Jo?oPedro\Documents\Unreal Projects\MyProject2\Source\MyProject2\Resources\Windows\MyProject2.rc(8) : fatal error RC1015: cannot open include file ‘windows.h’.

PCH.MyProject2.MyProject2.h.cpp  
C:\Program Files\Epic Games\4.7\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: C:\Users\JoaoPedro\Documents\Unreal Projects\MyProject2\Binaries\Win64\UE4Editor-MyProject2.dll  
Cumulative action seconds (4 processors): 0.00 building projects, 1.12 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other  
UBT execution time: 16.89 seconds

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_39a447ef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_39a447ef](https://forums.unrealengine.com/u/anonymous_user_39a447ef)\
**Post date:** [March 4, 2015, 9:14am UTC](https://forums.unrealengine.com/t/problem-creating-new-project-in-4-7-1/309045/2 "2015-03-04T09:14:52Z")

</div>

I am receiving the same issue. Building it with VS works when I go to project-\>references-\> vc dirs and set them to inherit from parent, but still does not allow the in-game compiler to work. As such, I am unable to update classes in realtime, requiring a whole new compilation through VS each time, which in turns seems to require restarting UE.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_39a447ef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_39a447ef](https://forums.unrealengine.com/u/anonymous_user_39a447ef)\
**Post date:** [March 4, 2015, 9:19am UTC](https://forums.unrealengine.com/t/problem-creating-new-project-in-4-7-1/309045/3 "2015-03-04T09:19:46Z")

</div>

My username has no special characters, just as a side note.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_39a447ef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_39a447ef](https://forums.unrealengine.com/u/anonymous_user_39a447ef)\
**Post date:** [March 4, 2015, 10:00pm UTC](https://forums.unrealengine.com/t/problem-creating-new-project-in-4-7-1/309045/4 "2015-03-04T22:00:20Z")

</div>

Problem persists in 4.7.2 hotfix. The build log is as follows:

The project failed to compile with this version of the engine. Build output is as follows:

Running C:/Program Files/Epic Games/4.7/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject6 Development Win64 -project=“C:/Users//Documents/Unreal Projects/MyProject6/MyProject6.uproject” -rocket -editorrecompile -progress  
Parsing headers for MyProject6Editor  
Reflection code generated for MyProject6Editor  
Performing 7 actions (4 in parallel)  
[2/7] Resource ModuleVersionResource.rc.inl  
[3/7] Resource MyProject6.rc  
PCH.MyProject6.MyProject6.h.cpp  
C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file ‘windows.h’.

C:\Users\Documents\Unreal Projects\MyProject6\Source\MyProject6\Resources\Windows\MyProject6.rc(8) : fatal error RC1015: cannot open include file ‘windows.h’.

C:\Program Files\Epic Games\4.7\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: C:\Users\Documents\Unreal Projects\MyProject6\Binaries\Win64\UE4Editor-MyProject6.dll  
Cumulative action seconds (8 processors): 0.00 building projects, 2.40 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other  
UBT execution time: 20.60 seconds
