RealtimeMeshComponent icon indicating copy to clipboard operation
RealtimeMeshComponent copied to clipboard

Unable to compile the plugin with UE 5.4.0.2. Fedora Linux 40

Open HoneyHazard opened this issue 6 months ago • 2 comments

UE Engine v 5.4.0.2 Fedora Linux 40

Tried both the marketplace version and v5.2.0 release on Github

Am I missing some prerequisite?

------ Building 3 action(s) started ------
[1/3] Compile Module.RealtimeMeshEditor.cpp
In file included from /home/admin/unreal/vsc_experiments_ue5/minimal_0/Plugins/RuntimeMeshComponent/Intermediate/Build/Linux/x64/UnrealEditor/Development/RealtimeMeshEditor/Module.RealtimeMeshEditor.cpp:2:
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:63:2: error: use of undeclared identifier 'FEditorDelegates'
        FEditorDelegates::OnMapOpened.AddLambda([this](const FString&, bool)
        ^
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:67:2: error: use of undeclared identifier 'FEditorDelegates'
        FEditorDelegates::OnMapLoad.AddLambda([this](const FString&, FCanLoadMap&)
        ^
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:67:63: error: unknown type name 'FCanLoadMap'
        FEditorDelegates::OnMapLoad.AddLambda([this](const FString&, FCanLoadMap&)
                                                                     ^
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:77:6: error: use of undeclared identifier 'GEditor'; did you mean 'GIsEditor'?
        if (GEditor && LumenUseCheckHandle.IsValid())
            ^~~~~~~
            GIsEditor
/mnt/data/unreal/Engine/Source/Runtime/Core/Public/CoreGlobals.h:213:22: note: 'GIsEditor' declared here
extern CORE_API bool GIsEditor;
                     ^
In file included from /home/admin/unreal/vsc_experiments_ue5/minimal_0/Plugins/RuntimeMeshComponent/Intermediate/Build/Linux/x64/UnrealEditor/Development/RealtimeMeshEditor/Module.RealtimeMeshEditor.cpp:2:
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:80:7: error: use of undeclared identifier 'GEditor'; did you mean 'GIsEditor'?
                if (GEditor->IsTimerManagerValid())
                    ^~~~~~~
                    GIsEditor
/mnt/data/unreal/Engine/Source/Runtime/Core/Public/CoreGlobals.h:213:22: note: 'GIsEditor' declared here
extern CORE_API bool GIsEditor;
                     ^
In file included from /home/admin/unreal/vsc_experiments_ue5/minimal_0/Plugins/RuntimeMeshComponent/Intermediate/Build/Linux/x64/UnrealEditor/Development/RealtimeMeshEditor/Module.RealtimeMeshEditor.cpp:2:
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:80:16: error: member reference type 'bool' is not a pointer
                if (GEditor->IsTimerManagerValid())
                    ~~~~~~~  ^
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:82:4: error: use of undeclared identifier 'GEditor'; did you mean 'GIsEditor'?
                        GEditor->GetTimerManager().Get().ClearTimer(LumenUseCheckHandle);
                        ^~~~~~~
                        GIsEditor
/mnt/data/unreal/Engine/Source/Runtime/Core/Public/CoreGlobals.h:213:22: note: 'GIsEditor' declared here
extern CORE_API bool GIsEditor;
                     ^
In file included from /home/admin/unreal/vsc_experiments_ue5/minimal_0/Plugins/RuntimeMeshComponent/Intermediate/Build/Linux/x64/UnrealEditor/Development/RealtimeMeshEditor/Module.RealtimeMeshEditor.cpp:2:
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:82:13: error: member reference type 'bool' is not a pointer
                        GEditor->GetTimerManager().Get().ClearTimer(LumenUseCheckHandle);
                        ~~~~~~~  ^
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:199:7: error: use of undeclared identifier 'GEditor'; did you mean 'GIsEditor'?
                if (GEditor && !LumenUseCheckHandle.IsValid())
                    ^~~~~~~
                    GIsEditor
/mnt/data/unreal/Engine/Source/Runtime/Core/Public/CoreGlobals.h:213:22: note: 'GIsEditor' declared here
extern CORE_API bool GIsEditor;
                     ^
In file included from /home/admin/unreal/vsc_experiments_ue5/minimal_0/Plugins/RuntimeMeshComponent/Intermediate/Build/Linux/x64/UnrealEditor/Development/RealtimeMeshEditor/Module.RealtimeMeshEditor.cpp:2:
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:202:8: error: use of undeclared identifier 'GEditor'; did you mean 'GIsEditor'?
                        if (GEditor->IsTimerManagerValid())
                            ^~~~~~~
                            GIsEditor
/mnt/data/unreal/Engine/Source/Runtime/Core/Public/CoreGlobals.h:213:22: note: 'GIsEditor' declared here
extern CORE_API bool GIsEditor;
                     ^
In file included from /home/admin/unreal/vsc_experiments_ue5/minimal_0/Plugins/RuntimeMeshComponent/Intermediate/Build/Linux/x64/UnrealEditor/Development/RealtimeMeshEditor/Module.RealtimeMeshEditor.cpp:2:
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:202:17: error: member reference type 'bool' is not a pointer
                        if (GEditor->IsTimerManagerValid())
                            ~~~~~~~  ^
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:204:5: error: use of undeclared identifier 'GEditor'; did you mean 'GIsEditor'?
                                GEditor->GetTimerManager().Get().SetTimer(LumenUseCheckHandle,
                                ^~~~~~~
                                GIsEditor
/mnt/data/unreal/Engine/Source/Runtime/Core/Public/CoreGlobals.h:213:22: note: 'GIsEditor' declared here
extern CORE_API bool GIsEditor;
                     ^
In file included from /home/admin/unreal/vsc_experiments_ue5/minimal_0/Plugins/RuntimeMeshComponent/Intermediate/Build/Linux/x64/UnrealEditor/Development/RealtimeMeshEditor/Module.RealtimeMeshEditor.cpp:2:
/mnt/data/unreal/vsc_experiments_ue5/vsc_plugins/RuntimeMeshComponent/Source/RealtimeMeshEditor/Private/RealtimeMeshEditor.cpp:204:14: error: member reference type 'bool' is not a pointer
                                GEditor->GetTimerManager().Get().SetTimer(LumenUseCheckHandle,
                                ~~~~~~~  ^
13 errors generated.

HoneyHazard avatar Aug 09 '24 01:08 HoneyHazard