# The Elusive UE4 Intel C++ Compiler Integration

**URL:** <https://forums.unrealengine.com/t/the-elusive-ue4-intel-c-compiler-integration/1245472>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [July 31, 2023, 4:04am UTC](https://forums.unrealengine.com/t/the-elusive-ue4-intel-c-compiler-integration/1245472 "2023-07-31T04:04:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AaronM0x1B39](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AaronM0x1B39](https://forums.unrealengine.com/u/AaronM0x1B39)\
**Post date:** [July 31, 2023, 4:04am UTC](https://forums.unrealengine.com/t/the-elusive-ue4-intel-c-compiler-integration/1245472/1 "2023-07-31T04:04:49Z")

</div>

So I’m convinced at one time the Intel C++ compiler was properly integrated into Unreal Engine 4. The UBT source code in version 4.27 (and others) supports this theory. There is also a closed pull request

[Add Intel C++ Compiler support to Windows build #2667](https://github.com/EpicGames/UnrealEngine/pull/2667)

The problem is there’s zero documentation on the specific compiler version. From what I can see the integration was made using “Intel C++ Compiler 2017”. For this release the build system looks in: "IntelSWTools\compilers\_and\_libraries\windows". But for Intel oneAPI DPC++/C++ Compiler (latest release) the default install path is: "C:\Program Files (x86)\Intel\oneAPI\compiler\2023.1.0\windows", and UBT doesn’t pick this up automatically. I have tried to specify:

```auto
<WindowsPlatform>

<CompilerVersion>Latest</CompilerVersion>

<Compiler>Intel</Compiler>

</WindowsPlatform>

```

But it can’t locate the compiler. Has anyone had success with 2023.1.0 by simply changing the install path or modifying UBT?

---

<div class="post-metadata">

**Author:** ![VitorEAFeliciano](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VitorEAFeliciano](https://forums.unrealengine.com/u/VitorEAFeliciano)\
**Post date:** [August 7, 2023, 8:18pm UTC](https://forums.unrealengine.com/t/the-elusive-ue4-intel-c-compiler-integration/1245472/2 "2023-08-07T20:18:39Z")

</div>

Hi AaronM0,

I have tried to build UE5.2 from github EPIC source repo with Intel OneAPI DPC++, and from my test it fails build some NNE Experimental Plugin with OpenSource c++ modules, c++20 fails, c++17 compiles most of the code but fails in module link.

A got to change the source to find the correct Intel instalation path.

So in:

> Engine\Source\Programs\UnrealBuildTool\Platform\Windows\MicrosoftPlatformSDK.Versions.cs

> static readonly VersionNumberRange PreferredIntelOneApiVersions = new VersionNumberRange  
> {  
> VersionNumberRange.Parse(“2023.0.0”, “2023.9.9999”),  
> VersionNumberRange.Parse(“2022.2.0”, “2022.9.9999”),  
> };

You can inspect from my changes Im appying to UE5.2 source.

In:

> [GitHub - Navegos/UE\_5\_changes: UE\_5 Changes With Public Plugins](https://github.com/Navegos/UE_5_changes)

Carefuly inspect changes… some are new things that only work with UE 5.2 source version.

Good luck.

---

<div class="post-metadata">

**Author:** ![TheRedPixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/theredpixel/32/1026309_2.png) [@TheRedPixel](https://forums.unrealengine.com/u/TheRedPixel)\
**Post date:** [December 14, 2023, 6:01pm UTC](https://forums.unrealengine.com/t/the-elusive-ue4-intel-c-compiler-integration/1245472/3 "2023-12-14T18:01:01Z")

</div>

Any updates on this ? Did you try to use it with 5.3 ? I just followed the instructions from other thread in this forums. I only added IntelISPC in the project’s build file since I found out that the ISPC exe was already on 5.4 github. But Im not sure if its actually working. Also I see there’s a bunch of console commands to activate ISPC optimizations for serveral things. I don’t know if all optimizations are enabled by default. I just want to be clarified if ISPC is not like clang or MSVS. It looks to me like a secondary compiled that only compiles specific code while the rest is done by the main compiler.

Please can anyone explain the set up and usage properly ? Are all the chaos ISPC optimizaons activated whenever ISPC is included ?
