search
Log In
Ask Solus is a community edited knowledge base and support forum for Solus. We are not endorsed or supported by Solus Project.
0 votes
12 views

Posted by : sergionexus

I’m trying to compile Unreal Engine 4, but it gave me two fatal errors and stop. This is my terminal looks like:

In file included from In file included from Runtime/Core/Public/CoreTypes.hRuntime/Core/Public/HAL/Platform.h::Runtime/Core/Public/Linux/LinuxPlatform.h10120::
 
:
 
9In file included from :Runtime/Core/Public/HAL/Platform.h10::120Runtime/Core/Public/Linux/LinuxPlatform.h :
 
:9:10:Runtime/Core/Public/Linux/LinuxPlatform.h :9fatal error:: 10: fatal error: ‘linux/version.h’
 
‘linux/version.h’
 
file filefatal errornot : notfound found
‘linux/version.h’
 
file not found
 
#include <linux/version.h>#include <linux/version.h>
^ ^
#include <linux/version.h>
 
^
 
In file included from /home/sergionexus/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/UnrealHeaderTool/Module.UnrealHeaderTool.cpp:2:
 
In file included from /home/sergionexus/UnrealEngine/Engine/Source/Programs/UnrealHeaderTool/Private/BaseParser.cpp:3:
 
In file included from Programs/UnrealHeaderTool/Private/BaseParser.h:5:
 
In file included from Runtime/Core/Public/CoreMinimal.h:9:
 
In file included from Runtime/Core/Public/CoreTypes.h:10:
 
In file included from Runtime/Core/Public/HAL/Platform.h:120:
 
Runtime/Core/Public/Linux/LinuxPlatform.h:9:10: fatal error: ‘linux/version.h’
 
file not found
 
#include <linux/version.h>
 
^
 
1 error generated.
 
1 error generated.
 
1 error generated.
 
1 error generated.
 
ERROR: UBT ERROR: Failed to produce item: /home/sergionexus/UnrealEngine/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so
 
Total build time: 3,00 seconds (Local executor: 0,00 seconds)
 
Error: UnrealHeaderTool failed for target ‘CrashReportClient’ (platform: Linux, module info: /home/sergionexus/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: OtherCompilationError (5)).
 
make: *** [Makefile:252: CrashReportClient-Linux-Shipping] Error 5

Any hint? Thanks in advance. 

15.9k points 3 7 15

1 Answer

0 votes

Install devel packages using following command and try again

sudo eopkg it -c system.devel

 

15.9k points 3 7 15
Posted by : sergionexus

Thank you so much Aaron. It’s compiling now.
This community it’s awesome. Thanks.
...