Closed JElbourne closed 5 months ago
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.
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.
@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
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.