HoudiniEngineForUnreal-v2
HoudiniEngineForUnreal-v2 copied to clipboard
Ubuntu: Build fails with missing HAL/PlatformFileManager.h
[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.
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.