sideeffects / HoudiniEngineForUnreal-v2

Houdini Engine Plugin for Unreal Engine 4 - Version 2
http://www.sidefx.com/unreal
Other
294 stars 75 forks source link

Ubuntu: Build fails with missing HAL/PlatformFileManager.h #166

Open mrmowgli opened 2 years ago

mrmowgli commented 2 years ago
[2429/2806] Link (lld) libUE4Editor-DatasmithImporter.so
In file included from /home/mrmowgli/UnrealEngine/Engine/Plugins/Runtime/HoudiniEngine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/HoudiniEngineEditor/Module.HoudiniEngineEditor.1_of_3.cpp:10:
/home/mrmowgli/UnrealEngine/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineEditor/Private/HoudiniEngineEditor.cpp:56:10: fatal error: 'HAL/PlatformFileManager.h' file not found

I did a search and that file isn't present in the project.

I followed the directions from the Readme.md, downloaded UnrealEngine 4.26.2-release, cloned this repo into the Engine/Plugins/Runtime/HoudiniEngine folder, made sure the Houdini environment variables were set, ran Unreal's setup.sh, ran GenerateProjectFiles.sh and then make UE4Editor. It fails consistently and it's clear the file isn't generated.

mrmowgli commented 2 years ago

This appears to be a regression of bad file naming. See: https://github.com/sideeffects/HoudiniEngineForUnreal-v2/pull/149

However the current naming is needed for the ShaderCompilerWorker, so it looks like some additional fixes are needed to get everything working. I got it to compile by copying PlatformFilemanager.h to PlatformFileManager.h. Since both filename cases are used, moving it to the correct camel case doesn't actually work for a full build.