Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux
Posted: 15 Apr 2024, 14:46
Hi there,
I am trying to package a project using the Unreal Build Tool (UBT) on a linux machine to produce a linux build. Packaging throws these errors when compiling:
I do not get these errors when packing on my Windows machine for a windows build. Here is my module definition where NoesisRuntime and Noesis modules are included:
I tried adding Slate and SlateCore to the module as the Unreal docs say that the HitTestGrid.h is part of the SlateCore module but this still hasn't resolved my build. Any help on this issue is much appreciated!
I am trying to package a project using the Unreal Build Tool (UBT) on a linux machine to produce a linux build. Packaging throws these errors when compiling:
Code: Select all
Plugins/NoesisGUI/Source/NoesisRuntime/Private/NoesisInstance.cpp:60:10: fatal error: 'Input/HitTestGrid.h' file not found
Code: Select all
Plugins/NoesisGUI/Source/NoesisEditor/Private/NoesisEditorPrivatePCH.h:13:10: fatal error: 'HAL/PlatformFilemanager.h' file not found
Code: Select all
public class UIModule : ModuleRules
{
public UIModule(ReadOnlyTargetRules Target) : base(Target)
{
PrivatePCHHeaderFile = "UIModule.h";
PublicDependencyModuleNames.AddRange(new string[] {
"Core",
"CoreUObject",
"Engine",
"InputCore",
"Slate",
"SlateCore",
"UMG"
});
PrivateDependencyModuleNames.AddRange(new string[] {
"Noesis",
"NoesisRuntime"
});
}
}