sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.35k stars 373 forks source link

Add missing includes for UE5.2 Engine plugin compilation #250

Closed JElbourne closed 5 months ago

JElbourne commented 1 year ago

Problem needing to be solved:

Although the Plugin would compile for a project, it would fail compilation with include errors when trying to compile as an Engine Plugin.

This is due to changes made by Epic in the engine source such a relocating or renaming classes and files.

In some situation it is important to distribute the plugin as part of a pre-compile engine with an organization. The build error's did not allow this.

Fixes / Changes in this Pull Request:

Using a preprocessor-macro of ENGINE_MINOR_VERSION as a conditional, the file includes have been added to the files causing the build errors.

The changes have been built successfully as an engine plugin using the Unreal Engine 5.2 Release.

Edstub207 commented 1 year ago

@JElbourne This has hardcoded local paths which is a no go and shouldn't be needed either?

https://github.com/sideeffects/HoudiniEngineForUnreal/blob/2e0c995fb7e33b3fb326e723fab9d27e98cfc85c/Source/HoudiniEngine/HoudiniEngine.Build.cs#L52