KCoppinsIventis
Topic Author
Posts: 11
Joined: 14 Mar 2024, 19:53

Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux

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:
Plugins/NoesisGUI/Source/NoesisRuntime/Private/NoesisInstance.cpp:60:10: fatal error: 'Input/HitTestGrid.h' file not found
Plugins/NoesisGUI/Source/NoesisEditor/Private/NoesisEditorPrivatePCH.h:13:10: fatal error: 'HAL/PlatformFilemanager.h' file not found
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:
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"
        });
    }
}
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!
 
User avatar
hcpizzi
Site Admin
Posts: 323
Joined: 09 Feb 2012, 12:40

Re: Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux

15 Apr 2024, 15:03

Hi,

The correct capitalization is
"Input/HittestGrid.h
. Notice the lower case t in test. I'll correct it on our side.

Thanks for reporting!
 
KCoppinsIventis
Topic Author
Posts: 11
Joined: 14 Mar 2024, 19:53

Re: Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux

15 Apr 2024, 15:15

Hi,

The correct capitalization is
"Input/HittestGrid.h
. Notice the lower case t in test. I'll correct it on our side.

Thanks for reporting!
Ah I see, is this a linux only include or something? Odd it didnt get raised when building on my windows machine.

When will that change be released? Or can I change it locally myself?
 
User avatar
hcpizzi
Site Admin
Posts: 323
Joined: 09 Feb 2012, 12:40

Re: Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux

15 Apr 2024, 15:45

Windows file system is not case sensitive, but Linux is.

We're planning on releasing version 3.2.4 soon, but for now you can make the change locally to be able to continue moving on.
 
KCoppinsIventis
Topic Author
Posts: 11
Joined: 14 Mar 2024, 19:53

Re: Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux

15 Apr 2024, 15:50

Also please note the incorrect capitalization with HAL/PlatformFileManager.h - manager with a capital M. This was changed with UE5.0 onwards
 
KCoppinsIventis
Topic Author
Posts: 11
Joined: 14 Mar 2024, 19:53

Re: Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux

15 Apr 2024, 16:27

Found another place here:
Plugins/NoesisGUI/Source/NoesisEditor/Private/NoesisXamlFactory.cpp:18:10: fatal error: 'HAL/PlatformFilemanager.h' file not found
 
User avatar
hcpizzi
Site Admin
Posts: 323
Joined: 09 Feb 2012, 12:40

Re: Fatal error: 'Input/HitTestGrid.h' file not found when packaging using the UBT for Linux

15 Apr 2024, 16:29

Thanks! Fixed that one as well.

Who is online

Users browsing this forum: Semrush [Bot] and 12 guests