# Can't compile the unreal engine source code.

**URL:** <https://forums.unrealengine.com/t/cant-compile-the-unreal-engine-source-code/2014733>\
**Category:** C++\
**Tags:** c-c, c-class-wizard, c-and-bluepri, c-custommeshcomponen, c-and-blueprint, c-error, c-class, c-custom-shape, c-programming, c-cone-shape, unreal-engine, editor, CPP, question\
**Created:** [September 10, 2024, 2:15pm UTC](https://forums.unrealengine.com/t/cant-compile-the-unreal-engine-source-code/2014733 "2024-09-10T14:15:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_260b49baa777d926d7e6e0968f5202bd08bdcd5d413290f0337be4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_260b49baa777d926d7e6e0968f5202bd08bdcd5d413290f0337be4](https://forums.unrealengine.com/u/user_260b49baa777d926d7e6e0968f5202bd08bdcd5d413290f0337be4)\
**Post date:** [September 10, 2024, 2:15pm UTC](https://forums.unrealengine.com/t/cant-compile-the-unreal-engine-source-code/2014733/1 "2024-09-10T14:15:18Z")

</div>

I download the source code from github. And execute setup.bat and generateprojectfiles.bat by following the readme in github.  
But it compiled failed. Here is the errors:  
1\>[1/4054] Link [x64] UnrealEditor-DesktopPlatform.lib  
1\> Creating library …\Intermediate\Build\Win64\x64\UnrealEditor\Development\DesktopPlatform\UnrealEditor-DesktopPlatform.lib and object …\Intermediate\Build\Win64\x64\UnrealEditor\Development\DesktopPlatform\UnrealEditor-DesktopPlatform.exp  
1\>[2/4054] Compile [x64] Module.Core.8\_of\_17.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Windows\MinWindows.h(74): fatal error C1083: Cannot open include file: ‘Windows.h’: No such file or directory  
1\>[3/4054] Compile [x64] Module.Core.9\_of\_17.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Misc\LazySingleton.h(5): fatal error C1083: Cannot open include file: ‘new’: No such file or directory  
1\>[4/4054] Compile [x64] Module.Core.7\_of\_17.cpp  
1\>[5/4054] Compile [x64] Module.Engine.16\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Experimental\ChaosCore\Public\Chaos\ArrayCollectionArray.h(9): fatal error C1083: Cannot open include file: ‘algorithm’: No such file or directory  
1\>[6/4054] Compile [x64] Module.Engine.25\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Async\ParallelFor.h(38): fatal error C1083: Cannot open include file: ‘atomic’: No such file or directory  
1\>[7/4054] Compile [x64] Module.Engine.27\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\GeometryCore\Public\MathUtil.h(8): fatal error C1083: Cannot open include file: ‘cmath’: No such file or directory  
1\>[8/4054] Compile [x64] Module.Engine.31\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\ProfilingDebugging\Histogram.h(22): fatal error C1083: Cannot open include file: ‘initializer\_list’: No such file or directory  
1\>[9/4054] Compile [x64] Module.Engine.32\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Experimental\ChaosCore\Public\Chaos\Vector.h(10): fatal error C1083: Cannot open include file: ‘initializer\_list’: No such file or directory  
1\>[10/4054] Compile [x64] Module.Engine.34\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Experimental\ChaosCore\Public\Chaos\Vector.h(10): fatal error C1083: Cannot open include file: ‘initializer\_list’: No such file or directory  
1\>[11/4054] Compile [x64] Module.Engine.37\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\StridedView.h(11): fatal error C1083: Cannot open include file: ‘type\_traits’: No such file or directory  
1\>[12/4054] Compile [x64] Module.Engine.38\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\TypedElementFramework\Public\Elements\Framework\TypedElementHandle.h(5): fatal error C1083: Cannot open include file: ‘type\_traits’: No such file or directory  
1\>[13/4054] Compile [x64] Module.Engine.40\_of\_67.cpp  
1\>D:\github\NvRTX\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\StridedView.h(11): fatal error C1083: Cannot open include file: ‘type\_traits’: No such file or directory

I don’t know what’s going on. I used to compile successfully by doing the same operation. And I could jump into the files that are reported as no such file or directory in Visual Studio.

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [September 14, 2024, 7:21pm UTC](https://forums.unrealengine.com/t/cant-compile-the-unreal-engine-source-code/2014733/2 "2024-09-14T19:21:28Z")

</div>

Most of those aren’t even files. Is your hard drive full?

---

<div class="post-metadata">

**Author:** ![user\_260b49baa777d926d7e6e0968f5202bd08bdcd5d413290f0337be4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_260b49baa777d926d7e6e0968f5202bd08bdcd5d413290f0337be4](https://forums.unrealengine.com/u/user_260b49baa777d926d7e6e0968f5202bd08bdcd5d413290f0337be4)\
**Post date:** [September 23, 2024, 1:29am UTC](https://forums.unrealengine.com/t/cant-compile-the-unreal-engine-source-code/2014733/3 "2024-09-23T01:29:02Z")

</div>

Thanks. But there is still free space left on my hard drive. So it’s pretty weird.
