fire-archive / SensibleEditorSourceCodeAccess

26 stars 13 forks source link

Failed to produce item #18

Open SuperPrower opened 6 years ago

SuperPrower commented 6 years ago

I have issue somewhat similar to #10.

At make UE4Editor step, I get this error:

bash "[...]/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" UE4Editor Linux Development  
Building UE4Editor...
Performing 2 actions (4 in parallel)
[1/2] Compile Module.SensibleEditorSourceCodeAccess.cpp
In file included from [...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/SensibleEditorSourceCodeAccess/Module.SensibleEditorSourceCodeAccess.cpp:2:
In file included from [...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.cpp:22:
[...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.h:35:33: error: field type
      'FSensibleSourceCodeAccessor' is an abstract class
    FSensibleSourceCodeAccessor SensibleEditorSourceCodeAccessor;
                                ^
Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h:58:15: note: unimplemented pure virtual method 'OpenSolutionAtPath' in 'FSensibleSourceCodeAccessor'
        virtual bool OpenSolutionAtPath(const FString& InSolutionPath) = 0;
                     ^
Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h:64:15: note: unimplemented pure virtual method 'DoesSolutionExist' in 'FSensibleSourceCodeAccessor'
        virtual bool DoesSolutionExist() const = 0;
                     ^
In file included from [...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/SensibleEditorSourceCodeAccess/Module.SensibleEditorSourceCodeAccess.cpp:2:
In file included from [...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.cpp:23:
In file included from [...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessPrivatePCH.h:24:
Runtime/Core/Public/Core.h:6:1: warning: Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs. [-W#pragma-messages]
MONOLITHIC_HEADER_BOILERPLATE()
^
Runtime/Core/Public/Misc/MonolithicHeaderBoilerplate.h:6:42: note: expanded from macro 'MONOLITHIC_HEADER_BOILERPLATE'
        #define MONOLITHIC_HEADER_BOILERPLATE() COMPILE_WARNING("Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs.")
                                                ^
[...]/UnrealEngine/Engine/Source/Runtime/Core/Public/HAL/Platform.h:578:29: note: expanded from macro 'COMPILE_WARNING'
        #define COMPILE_WARNING(x) GCC_DIAGNOSTIC_HELPER(GCC warning x)
                                   ^
[...]/UnrealEngine/Engine/Source/Runtime/Core/Public/HAL/Platform.h:577:35: note: expanded from macro 'GCC_DIAGNOSTIC_HELPER'
        #define GCC_DIAGNOSTIC_HELPER(x) _Pragma(#x)
                                         ^
<scratch space>:3:6: note: expanded from here
 GCC warning "Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs."
     ^
In file included from [...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/SensibleEditorSourceCodeAccess/Module.SensibleEditorSourceCodeAccess.cpp:2:
[...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.cpp:26:1: error: cannot initialize
      return object of type 'IModuleInterface *' with an rvalue of type 'FSensibleSourceCodeAccessModule *'
IMPLEMENT_MODULE( FSensibleSourceCodeAccessModule, SensibleEditorSourceCodeAccess );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Runtime/Core/Public/Modules/ModuleManager.h:733:11: note: expanded from macro 'IMPLEMENT_MODULE'
                        return new ModuleImplClass(); \
                               ^~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
ERROR: UBT ERROR: Failed to produce item: [...]/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Binaries/Linux/libUE4Editor-SensibleEditorSourceCodeAccess.so
Total build time: 6.25 seconds (Local executor: 0.00 seconds)
make: *** [Makefile:178: UE4Editor] Error 5

I cloned into correct folder and changed .ini file. Any ideas on cause of the problem? I'm trying to build latest UE4, my distro is Arch Linux.

fire commented 6 years ago

OpenSolutionAtPath and DoesSolutionExist are new functions that haven't been patched in this version of the plugin.

Since I'm rarely using Linux now, feel free to submit a pull request.