Problem building UE4 on Linux

Hi,

I’m trying to build UE4 on Linux (OpenSuse 13.1 64-bit), according to A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums.
I launched command:

$ make UE4Editor UE4Game UnrealPak CrashReportClient ShaderCompileWorker UnrealLightmass

During build process, an the following errors occurred:

…]

[270/788] Compile Module.DeviceProfileServices.cpp
In file included from /home//dev/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/Sequencer/Module.Sequencer.cpp:2:
In file included from /home//dev/Unreal/UnrealEngine/Engine/Source/Editor/Sequencer/Private/SequencerPrivatePCH.h:6:
In file included from Editor/UnrealEd/Public/UnrealEd.h:12:
In file included from Runtime/Slate/Public/SlateBasics.h:5:
In file included from Runtime/Core/Public/Core.h:26:
Runtime/Core/Public/Templates/MemoryOps.h:95:14: error: call to implicitly-deleted copy constructor of ‘FKeyGrouping’
new (Dest) DestinationElementType(*Source);
^ ~~~~~~~
Runtime/Core/Public/Containers/Array.h:2280:3: note: in instantiation of function template specialization ‘ConstructItems<FKeyGrouping, FKeyGrouping>’ requested here
ConstructItems<ElementType>(GetData(), Source.GetData(), SourceCount);
^
Runtime/Core/Public/Containers/Array.h:459:4: note: in instantiation of function template specialization ‘TArray<FKeyGrouping, FDefaultAllocator>::CopyToEmpty<FKeyGrouping, FDefaultAllocator>’ requested here
CopyToEmpty(Other);
^
Editor/Sequencer/Private/GroupedKeyArea.h:66:7: note: in instantiation of member function ‘TArray<FKeyGrouping, FDefaultAllocator>::operator=’ requested here
class FGroupedKeyArea : public IKeyArea
^
Editor/Sequencer/Private/GroupedKeyArea.h:56:2: note: copy constructor is implicitly deleted because ‘FKeyGrouping’ has a user-declared move constructor
FKeyGrouping(FKeyGrouping&& In) : RepresentativeTime(In.RepresentativeTime), Keys(MoveTemp(In.Keys)) {}
^
1 error generated.
[271/788] Compile Module.Persona.2_of_4.cpp

…]

[650/788] Link UE4Editor
[651/788] Link libUE4Editor-GameplayAbilitiesEditor.so
/usr/bin/ld: warning: libicudata.so.53, needed by /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.53, needed by /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicui18n.so.53, needed by /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicule.so.53, needed by /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libiculx.so.53, needed by /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuio.so.53, needed by /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so, not found (try using -rpath or -rpath-link)
[652/788] Link libUE4Editor-StaticMeshEditor.so
[653/788] Link libUE4Editor-EnvironmentQueryEditor.so
[654/788] Link libUE4Editor-DestructibleMeshEditor.so
/home//dev/Unreal/UnrealEngine/Engine/Source/ThirdParty/FBX/2016.1.1/lib/gcc4/x86_64-unknown-linux-gnu/release//libfbxsdk.a(fbxutils.o): In function fbxsdk::FbxPathUtils::GenerateFileName(char const*, char const*)': (.text+0x4b8): warning: the use of tempnam’ is dangerous, better use `mkstemp’
[655/788] Link libUE4Editor-Blutility.so

…]

[762/788] Link libUE4Editor-AITestSuite.so
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Sequencer.so
Total build time: 2970,31 seconds

UE4 Editor binary is present, but crashes at startup:

$ ./UE4Editor
./UE4Editor: symbol lookup error: /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Kismet.so: undefined symbol: _ZN26FGraphEditorDragDropAction9ConstructEv

Can someone help ?

Thanks in advance,

Which version of clang did you use? According to my experience, clang 3.6 is OK on Ubuntu and CentOS.

llvm-clang-3.3-6.4.1.x86_64, installed from repository.

I upgraded to clang 3.5, installed libicu53 and everything builds.

However, during build process, I got messages like this:

Parsing headers for SlateViewer
Running UnrealHeaderTool SlateViewer “/home//dev/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/SlateViewer/Development/UnrealHeaderTool.manifest” -LogCmds=“loginit warning, logexit warning, logdatabase error”
Using binned.
[2016.02.18-16.26.35:189] 0]LogModuleManager:Warning: ModuleManager: Unable to load module ‘PakFile’ because the file ‘/home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/’ was not found.
[2016.02.18-16.26.35:189] 0]LogPlatformFile: Not using cached read wrapper
[2016.02.18-16.26.35:189] 0]LogModuleManager:Warning: ModuleManager: Unable to load module ‘SandboxFile’ because the file ‘/home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/’ was not found.
[2016.02.18-16.26.35:189] 0]LogModuleManager:Warning: ModuleManager: Unable to load module ‘StreamingFile’ because the file ‘/home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/’ was not found.
[2016.02.18-16.26.35:189] 0]LogModuleManager:Warning: ModuleManager: Unable to load module ‘NetworkFile’ because the file ‘/home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/’ was not found.

Nedless to say, directory /home//dev/Unreal/UnrealEngine/Engine/Binaries/Linux/ exists.

At the end, executables are produced. UE4Editor launches and looks OK, but when I try to create new project (C++ / Basic) the editor creates project directory with files and suddenly quits:

[2016.02.18-17.56.27:091][596]Discovering modules, targets and source code for game…
[2016.02.18-17.56.34:418][596]LogHAL: Child 20642 is no more running (zombie), Wait()ing immediately.
[2016.02.18-17.56.34:518][596]LogGameProjectGeneration: Created new project with 11 files (plus project files)
[2016.02.18-17.56.34:661][597]Cmd: QUIT_EDITOR
[2016.02.18-17.56.34:761][597]LogALAudio: Closing ALAudio device : OpenAL Soft
[2016.02.18-17.56.34:842][597]LogExit: Preparing to exit.
[2016.02.18-17.56.35:088][597]LogExit: Editor shut down
[2016.02.18-17.56.35:088][597]LogExit: Transaction tracking system shut down
[2016.02.18-17.56.35:094][597]LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x0x11098280
[2016.02.18-17.56.35:343][597]LogExit: Object subsystem successfully closed.
[2016.02.18-17.56.35:389][597]LogModuleManager: Shutting down and abandoning module CollectionManager (164)
[2016.02.18-17.56.35:389][597]LogModuleManager: Shutting down and abandoning module CrashTracker (163)
[2016.02.18-17.56.35:389][597]LogModuleManager: Shutting down and abandoning module StatsViewer (162)
…]

Do I miss something ?

More info:

When I start UE4Editor again after it quit previously, “Projects” section in Project Browser is empty, although it created project directory with files.
I guess it quits prematurely for some reason and new project setup is not finished.

Did anyone get similar problem, especially on OpenSUSE ? I’m trying to dig through forums, but without success.

Also, there are messages during editor startup, I’m not sure if it;s relevant here:

[2016.02.19-11.15.15:543] 0]LogDerivedDataCache:Display: Max Cache Size: 512 MB
[2016.02.19-11.15.16:001] 0]LogDerivedDataCache: Loaded boot cache 0.46s 78MB …/…/…/Engine/DerivedDataCache/Boot.ddc.
[2016.02.19-11.15.16:001] 0]LogDerivedDataCache:Display: Loaded Boot cache: …/…/…/Engine/DerivedDataCache/Boot.ddc
[2016.02.19-11.15.16:002] 0]LogDerivedDataCache: FDerivedDataBackendGraph: Pak pak cache file …/…/…/Engine/DerivedDataCache/DDC.ddp not found, will not use a pak cache.
[2016.02.19-11.15.16:002] 0]LogDerivedDataCache: Unable to find inner node Pak for hierarchical cache Hierarchy.
[2016.02.19-11.15.16:002] 0]LogDerivedDataCache: FDerivedDataBackendGraph: EnginePak pak cache file …/…/…/Engine/DerivedDataCache/DDC.ddp not found, will not use a pak cache.
[2016.02.19-11.15.16:002] 0]LogDerivedDataCache: Unable to find inner node EnginePak for hierarchical cache Hierarchy.
[2016.02.19-11.15.16:009] 0]LogDerivedDataCache: Using Local data cache path …/…/…/Engine/DerivedDataCache: Writable
[2016.02.19-11.15.16:009] 0]LogDerivedDataCache: Shared data cache path not found in *engine.ini, will not use an Shared cache.
[2016.02.19-11.15.16:009] 0]LogDerivedDataCache: Unable to find inner node Shared for hierarchical cache Hierarchy.

i still get the same issue, can’t load libUE4Editor so file. tried deleting and recreating it, still same issue, happens on existing project and ne c++ project. still no one has a clue?