Failed to compile UE 5.4 Source - Loads of compile errors

I’m using Meta’s Source build, and I’m unable to compile UE 5.4. It gives these new errors, which never happened on other engine versions:

Here’s my VS installation setup, 17.0.10.

I’ve also changed the .target.cs file to include the following code as per other threads, but that didn’t work either

        bOverrideBuildEnvironment = true;
        DefaultBuildSettings = BuildSettingsVersion.V5;
        IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
        BuildEnvironment = TargetBuildEnvironment.Unique;

Has anyone encountered this?

1 Like

me too

killed a lot of build errors mean while but still stuck at some point (VS version: 2022 17.14.26)

I have the feeling the fork from meta is not up to date to unreal’s latest 5.4. version (e.g. compiler version).

I paste here some links that might help to fix some of the errors - but in my case i was stuck at some point later (if i ever manage to fix it i update this post)

Win SDK version 10.0.26100.0 is not compatible (killed 14 errors)

Getting “error C4756: overflow in constant arithmetic” while building Unreal 5.4.2 from source code - Development / Getting Started & Setup - Epic Developer Community Forums

disabled AutoRTFMTest run in visual studio

how can i fix this error? building 5.3 from source - Programming & Scripting / C++ - Epic Developer Community Forums

fixed some issue with CmdLink

LNK2001 unresolved external symbal “wchar_t” - Programming & Scripting / C++ - Epic Developer Community Forums

specified the compiler version - keyword “compile against” in build log

How to Specify Unreal Engine Source/Project Compiler Toolchain and SDK - Development / Platform & Builds - Epic Developer Community Forums

then i got stuck with

“…. /LaunchEngineLoop.cpp(66): fatal error C1083: Cannot open include file: ‘Interfaces/IPluginManager.h’ : No such file or directory” (i checked : my IDE finds it - could be that my pathlength is too long … )