# UE 4.26 from source build fails \[Engine/Source/Runtime/PhysicsCore/Private/PhysicalMaterial.cpp(107): error C2653: 'FChaosEngineInterface': is not a class or namespace name\]

**URL:** <https://forums.unrealengine.com/t/ue-4-26-from-source-build-fails-engine-source-runtime-physicscore-private-physicalmaterial-cpp-107-error-c2653-fchaosengineinterface-is-not-a-class-or-namespace-name/477914>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, build-failed, question\
**Created:** [January 28, 2021, 3:05pm UTC](https://forums.unrealengine.com/t/ue-4-26-from-source-build-fails-engine-source-runtime-physicscore-private-physicalmaterial-cpp-107-error-c2653-fchaosengineinterface-is-not-a-class-or-namespace-name/477914 "2021-01-28T15:05:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fe8ffc6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fe8ffc6](https://forums.unrealengine.com/u/anonymous_user_8fe8ffc6)\
**Post date:** [January 28, 2021, 3:05pm UTC](https://forums.unrealengine.com/t/ue-4-26-from-source-build-fails-engine-source-runtime-physicscore-private-physicalmaterial-cpp-107-error-c2653-fchaosengineinterface-is-not-a-class-or-namespace-name/477914/1 "2021-01-28T15:05:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fe8ffc6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fe8ffc6](https://forums.unrealengine.com/u/anonymous_user_8fe8ffc6)\
**Post date:** [January 28, 2021, 3:08pm UTC](https://forums.unrealengine.com/t/ue-4-26-from-source-build-fails-engine-source-runtime-physicscore-private-physicalmaterial-cpp-107-error-c2653-fchaosengineinterface-is-not-a-class-or-namespace-name/477914/2 "2021-01-28T15:08:18Z")

</div>

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](https://forums.unrealengine.com/development-discussion/engine-source-github/1839146-4-26-build-from-source-fails-for-headless-chaos?p=1851326#post1851326)
