# 4.10 wont compile with #define WITH\_SUBSTEPPING 0

**URL:** <https://forums.unrealengine.com/t/4-10-wont-compile-with-define-with-substepping-0/339319>\
**Category:** World Creation\
**Tags:** unreal-engine, bug-report, UE4, CPP, question\
**Created:** [November 22, 2015, 12:24pm UTC](https://forums.unrealengine.com/t/4-10-wont-compile-with-define-with-substepping-0/339319 "2015-11-22T12:24:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierdek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pierdek](https://forums.unrealengine.com/u/Pierdek)\
**Post date:** [November 22, 2015, 12:24pm UTC](https://forums.unrealengine.com/t/4-10-wont-compile-with-define-with-substepping-0/339319/1 "2015-11-22T12:24:54Z")

</div>

Hi,

just want to report that 4.10 with #define WITH\_SUBSTEPPING 0 wont compile.

```
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(92): error C2614: 'FPhysScene' : illegal member initialization: 'PendingApexDamageManager' is not a base or member
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(897): error C2065: 'PendingApexDamageManager' : undeclared identifier
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(897): error C2227: left of '->PendingDamageEvents' must point to class/struct/union/generic type
1> type is 'unknown-type'
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(899): error C2065: 'PendingDamageEvent' : undeclared identifier
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(899): error C2228: left of '.DestructibleComponent' must have class/struct/union
1> type is 'unknown-type'
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(899): error C2228: left of '.Get' must have class/struct/union
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(901): error C2065: 'PendingDamageEvent' : undeclared identifier
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(901): error C2228: left of '.DamageEvent' must have class/struct/union
1> type is 'unknown-type'
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(907): error C2065: 'PendingApexDamageManager' : undeclared identifier
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(907): error C2227: left of '->PendingDamageEvents' must point to class/struct/union/generic type
1> type is 'unknown-type'
1>g:\UnrealEngine-4.10_2\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysScene.cpp(907): error C2228: left of '.Empty' must have class/struct/union

```

Regards

Piotr

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 23, 2015, 8:00pm UTC](https://forums.unrealengine.com/t/4-10-wont-compile-with-define-with-substepping-0/339319/2 "2015-11-23T20:00:39Z")

</div>

Hey -

Where are you using #define WITH\_SUBSTEPPING 0? Is there any other information you can provide to help me test/reproduce this on my end?

Cheers

---

<div class="post-metadata">

**Author:** ![Pierdek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pierdek](https://forums.unrealengine.com/u/Pierdek)\
**Post date:** [November 23, 2015, 8:50pm UTC](https://forums.unrealengine.com/t/4-10-wont-compile-with-define-with-substepping-0/339319/3 "2015-11-23T20:50:18Z")

</div>

Hi ,

1. Download 4.10 sources from the Github
2. Run Setup.bat
3. Run GenerateProjectFiles.bat
4. Open UE4 solution
5. Find Engine\Source\Runtime\Engine\Public\EngineDefines.h file
6. Find #define WITH\_SUBSTEPPING 1, change it to: #define WITH\_SUBSTEPPING 0
7. Try compile the engine

Regards

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 24, 2015, 5:41pm UTC](https://forums.unrealengine.com/t/4-10-wont-compile-with-define-with-substepping-0/339319/4 "2015-11-24T17:41:59Z")

</div>

Hey -

I was able to reproduce the build failure and have entered a bug report for this issue (UE-23805) for further investigation.

Cheers
