Pulling Unreal Engine source code from git hub and building gives the following error:
Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(107): error C2653: 'FChaosEngineInterface': is not a class or namespace name
and more similar ones about Chaos.
In Engine\Source\Programs\HeadlessChaos\HeadlessChaos.Target.cs
Add at the end of public HeadlessChaosTarget(TargetInfo Target) : base(Target)
bUseChaos = true;
bCompileChaos = true;
bCompilePhysX = false;
bCompileAPEX = false;
bCompileNvCloth = false;
Reference:
https://forums.unrealengine.com/development-discussion/engine-source-github/1839146-4-26-build-from-source-fails-for-headless-chaos?p=1851326#post1851326