Download

how to bootstrap UHT?

Hello everybody,
I’m trying to compile ue5 manually from source (I’m not following the README). First, I tried to compile a small piece of the whole source code and found UHT is needed , so I tried with the following command line to compile UHT itself , but get “Cannot open include file: ‘NetSerialization.generated.h’: No such file or directory” it seems NetSerialization.generated.h is generated by UHT , does this mean UHT has dependency on itself ? What I’ve missed ? Many Thanks!

cl
-nologo -c
-D_WIN64=1
-DUNICODE=1
-D_UNICODE=1
-DUE_BUILD_SHIPPING=1
-DWITH_EDITOR=1
-DWITH_ENGINE=1
-DWITH_UNREAL_DEVELOPER_TOOLS=1
-DWITH_PLUGIN_SUPPORT=1
-DIS_MONOLITHIC=1
-DIS_PROGRAM=1
-DPLATFORM_WINDOWS=1
-DPLATFORM_MICROSOFT=1
-DUBT_COMPILED_PLATFORM=Windows
-DAPPLICATIONCORE_API=
-DCOREUOBJECT_API=
-DCORE_API=
-DENGINE_API=
-DRENDERCORE_API=
-DWITH_SERVER_CODE=1
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\ApplicationCore\Public
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\CoreUObject\Public
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\Core\Public
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\Engine\Classes
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\Engine\Public
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\Launch\Public
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\RenderCore\Public
-ID:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Runtime\TraceLog\Public
D:\UnrealEngine-5.0.0-early-access-2\Engine\Source\Programs\UnrealHeaderTool\Private\UnrealHeaderToolMain.cpp