Vitalii Boiko

Vitaliia1b0deab96574822

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

19.5.646 - UE 5.2 Github compilation issues June 15, 2023, 12:05 a.m.

Hello, the recent update on github introduced the following errors in the Development build (runtime game).
Development Editor is fine.

2>[13/91] Compile [x64] HoudiniInstancedActorComponent.gen.cpp
2>[14/91] Compile [x64] HoudiniOutput.cpp
2>D:\TFEC.DDoD.UE\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(85): error C2027: use of undefined type 'UBlueprint'
2>D:\TFEC.DDoD.UE\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(424): note: see declaration of 'UBlueprint'
2>D:\TFEC.DDoD.UE\DDoD\Plugins\HoudiniEngine\Source\HoudiniEngineRuntime\Private\HoudiniOutput.cpp(404): note: see reference to function template instantiation 'To *Cast<UBlueprint,UObject>(From *)' being compiled
2>        with
2>        [
2>            To=UBlueprint,
2>            From=UObject
2>        ]
2>D:\TFEC.DDoD.UE\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(85): error C2338: static_assert failed: 'Attempting to cast between incomplete types'

and

2>[45/91] Compile [x64] HoudiniEngineRuntimeUtils.cpp
2>D:\TFEC.DDoD.UE\DDoD\Plugins\HoudiniEngine\Source\HoudiniEngineRuntime\Private\HoudiniEngineRuntimeUtils.cpp(799): error C2653: 'FPaths': is not a class or namespace name
2>D:\TFEC.DDoD.UE\DDoD\Plugins\HoudiniEngine\Source\HoudiniEngineRuntime\Private\HoudiniEngineRuntimeUtils.cpp(799): error C3861: 'IsRelative': identifier not found
2>D:\TFEC.DDoD.UE\DDoD\Plugins\HoudiniEngine\Source\HoudiniEngineRuntime\Private\HoudiniEngineRuntimeUtils.cpp(800): error C2653: 'FPaths': is not a class or namespace name
2>D:\TFEC.DDoD.UE\DDoD\Plugins\HoudiniEngine\Source\HoudiniEngineRuntime\Private\HoudiniEngineRuntimeUtils.cpp(800): error C3861: 'ConvertRelativePathToFull': identifier not found
2>D:\TFEC.DDoD.UE\DDoD\Plugins\HoudiniEngine\Source\HoudiniEngineRuntime\Private\HoudiniEngineRuntimeUtils.cpp(802): error C2653: 'FPaths': is not a class or namespace name
2>D:\TFEC.DDoD.UE\DDoD\Plugins\HoudiniEngine\Source\HoudiniEngineRuntime\Private\HoudiniEngineRuntimeUtils.cpp(802): error C3861: 'DirectoryExists': identifier not found
2>[46/91] Compile [x64] HoudiniParameterColor.cpp
2>[47/91] Compile [x64] HoudiniCompatibilityHelpers.gen.cpp

Fixes are very trivial:

In HoudiniOutput.cpp include is missing:
#include "Engine/Blueprint.h"

In HoudiniEngineRuntimeUtils.cpp another include is missing
#include "Misc/Paths.h"

Could you please update the sources with these fixes on the GitHub? Thanks!

Unreal Engine 5.2 support June 3, 2023, 2:01 p.m.

I managed to fix that by adding a forward declaration in the header:

class USimpleConstructionScript;

And include in cpp
 #include "Engine/SimpleConstructionScript.h"