Building Unreal Engine Editor from source fails

shue_it
Mon, 26 Jan 2026 17:08:50 +0000
Platform & Builds

Hello,

I’m trying to build Unreal Engine from source (based on 5.7.1-release tag).
I followed the README instructions and :

executed Setup.bat script

executed GenerateProjectFiles.bat script

Open the project from UE5.sln

Installed missing components via VSInstaller (prompted by VS)

Set the right configuration and start building → fail

The build fails for strange reasons :

Planty of cannot open source file "XXX.generated.h" error (E1696)

Planty of this declaration has no storage class or type specifier error E0077, which are directed to GENERATED_XXX_BODY macros (explaining the error above I think)

Planty of Unable to parse delegate declaration; expected 'DECLARE_DYNAMIC_DELEGATE' but found 'DECLARE_DYNAMIC_DELEGATE_XXXParam'. errors.

I have no clue on what can cause those errors.
Any idea ?

Thanks

2 posts - 1 participant