Isuse building UE4Editor linux

Using textureArray custom engine build 4.19 having issue building UE4Editor any help is appreciated

Here is the error log:

------- Build details --------
Using clang (/usr/bin/clang+±5.0) version ‘5.0.1’ (string), 5 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /usr/bin/llvm-ar
Using fast way to relink circularly dependent libraries (no FixDeps).

ERROR: System.IO.FileNotFoundException: Could not find file “/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/UnrealEd/Texture2DArrayThumbnailRenderer.generated.h”
File name: ‘/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/UnrealEd/Texture2DArrayThumbnailRenderer.generated.h’
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <71d8ad678db34313b7f718a414dfcb25>:0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <71d8ad678db34313b7f718a414dfcb25>:0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <71d8ad678db34313b7f718a414dfcb25>:0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding) [0x00009] in <71d8ad678db34313b7f718a414dfcb25>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string,System.Text.Encoding)
at UnrealBuildTool.CPPHeaders.GetFileContents (System.String Filename) [0x0001d] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.CPPHeaders.GetUncachedDirectIncludeDependencies (UnrealBuildTool.FileItem CPPFile, Tools.DotNETCommon.FileReference ProjectFile) [0x0000e] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.CPPHeaders.GetDirectIncludeDependencies (UnrealBuildTool.FileItem CPPFile, System.Boolean bOnlyCachedDependencies) [0x00041] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.CPPHeaders.FindAndCacheAllIncludedFiles (UnrealBuildTool.FileItem CPPFile, UnrealBuildTool.CppIncludePaths IncludePaths, UnrealBuildTool.IncludedFilesSet& Result, System.Boolean bOnlyCachedDependencies) [0x0003d] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.CPPHeaders.FindAndCacheAllIncludedFiles (UnrealBuildTool.FileItem CPPFile, UnrealBuildTool.CppIncludePaths IncludePaths, UnrealBuildTool.IncludedFilesSet& Result, System.Boolean bOnlyCachedDependencies) [0x0015f] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.CPPHeaders.FindAndCacheAllIncludedFiles (UnrealBuildTool.FileItem CPPFile, UnrealBuildTool.CppIncludePaths IncludePaths, UnrealBuildTool.IncludedFilesSet& Result, System.Boolean bOnlyCachedDependencies) [0x0015f] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.CPPHeaders.FindAndCacheAllIncludedFiles (UnrealBuildTool.FileItem CPPFile, UnrealBuildTool.CppIncludePaths IncludePaths, UnrealBuildTool.IncludedFilesSet& Result, System.Boolean bOnlyCachedDependencies) [0x0015f] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.CPPHeaders.FindAndCacheAllIncludedFiles (UnrealBuildTool.FileItem SourceFile, UnrealBuildTool.CppIncludePaths IncludePaths, System.Boolean bOnlyCachedDependencies) [0x0008c] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.ActionGraph.IsActionOutdated (UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.UEBuildTarget Target, UnrealBuildTool.CPPHeaders Headers, UnrealBuildTool.Action RootAction, System.Collections.Generic.Dictionary2[TKey,TValue] OutdatedActionDictionary, UnrealBuildTool.ActionHistory ActionHistory, System.Collections.Generic.Dictionary2[TKey,TValue] TargetToOutdatedPrerequisitesMap) [0x00295] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.ActionGraph.GatherAllOutdatedActions (UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.UEBuildTarget Target, UnrealBuildTool.CPPHeaders Headers, UnrealBuildTool.ActionHistory ActionHistory, System.Collections.Generic.Dictionary2[UnrealBuildTool.Action,System.Boolean]& OutdatedActions, System.Collections.Generic.Dictionary2[TKey,TValue] TargetToOutdatedPrerequisitesMap) [0x0001f] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.ActionGraph.GetActionsToExecute (UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.Action[] PrerequisiteActions, System.Collections.Generic.List1[T] Targets, System.Collections.Generic.Dictionary2[TKey,TValue] TargetToHeaders, System.Collections.Generic.Dictionary2[UnrealBuildTool.UEBuildTarget,System.Collections.Generic.List1[UnrealBuildTool.FileItem]]& TargetToOutdatedPrerequisitesMap) [0x000c3] in <6446f394f719495d9e7b0db7d8ea7433>:0
at UnrealBuildTool.UnrealBuildTool.RunUBT (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.String[] Arguments, Tools.DotNETCommon.FileReference ProjectFile, System.Boolean bCatchExceptions) [0x01062] in <6446f394f719495d9e7b0db7d8ea7433>:0
Makefile:188: recipe for target ‘UE4Editor’ failed
make: *** [UE4Editor] Error 5

Also these errors:

[70/1429] Compile Module.ReliabilityHandlerComponent.cpp
In file included from /home/ghost/Desktop/UnrealEngine4.19.2/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/UnrealEd/Module.UnrealEd.gen.6_of_7.cpp:51:
In file included from /home/ghost/Desktop/UnrealEngine4.19.2/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/UnrealEd/Texture2dArrayThumbnailRenderer.gen.cpp:8:
Editor/UnrealEd/Classes/Factories/Texture2dArrayThumbnailRenderer.h:13:10: fatal error: ‘Texture2DArrayThumbnailRenderer.generated.h’ file not found
#include “Texture2DArrayThumbnailRenderer.generated.h”
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

[85/1429] Compile Module.UnrealEd.19_of_21.cpp
In file included from /home/ghost/Desktop/UnrealEngine4.19.2/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/UnrealEd/Module.UnrealEd.20_of_21.cpp:33:
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Editor/UnrealEd/Private/ThumbnailRendering/Texture2DArrayThumbnailRenderer.cpp:3:10: fatal error:
‘Factories/Texture2DArrayThumbnailRenderer.h’ file not found
#include “Factories/Texture2DArrayThumbnailRenderer.h”
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

[226/1429] Compile Module.Engine.35_of_39.cpp
In file included from /home/ghost/Desktop/UnrealEngine4.19.2/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/Module.Engine.36_of_39.cpp:32:
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/Private/Texture2D.cpp:1693:1: error: ‘/’ within block comment [-Werror,-Wcomment]
/**
^
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/Private/Texture2D.cpp:1742:1: error: '/
’ within block comment [-Werror,-Wcomment]
/** Removes a texture from the texture array, and potentially removes the CachedData entry if the last ref was removed. *
^
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/Private/Texture2D.cpp:1758:1: error: ‘/’ within block comment [-Werror,-Wcomment]
/** Updates a CachedData entry (if one exists for this texture), with a new texture. *
^
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/Private/Texture2D.cpp:1772:1: error: '/
’ within block comment [-Werror,-Wcomment]
/** Initializes the texture array resource if needed, and re-initializes if the texture array has been made dirty since the last init. *
^
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/Private/Texture2D.cpp:1791:1: error: ‘/’ within block comment [-Werror,-Wcomment]
/** Returns the index of a given texture in the texture array. *
^
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/Private/Texture2D.cpp:1823:1: error: '/
’ within block comment [-Werror,-Wcomment]
/** Prevents reallocation from removals of the texture array until EndPreventReallocation is called. *
^
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/Private/Texture2D.cpp:1834:1: error: ‘/*’ within block comment [-Werror,-Wcomment]
/** Restores the ability to reallocate the texture array. *
^
/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Source/Runtime/Engine/PrivateEngine.34_of_39.cpp
8 errors generated

/Texture2D.cpp:1851:1: error: ‘/*’ within block comment [-Werror,-Wcomment]
/** Copies data from DataEntry into Dest, taking stride into account. *
^
[227/1429] Compile Module.Engine.gen.8_of_40.cpp
[228/1429] Compile Module.

Hey, you seem to be missing a lot of things there. Did you do ./Setup.sh?

Yes first ./Setup.sh then ./GenerateProjectFiles.sh
Also its basicly asking for the samething each time, i am missing Texture2DArrayThumbnailRenderer.generated.h

Can you remove the “/home/ghost/Desktop/UnrealEngine4.19.2/Engine/Intermediate” directory? Seems something went wrong during the compile so cleaning that one up might help.

Okay i did that and Reran the make file
This is the error now: GitHub - DigitallyBound/ErrorLog

That looks like exactly the same error. That is a fresh checkout from the git repo right? Do you have enough disk space?

I would look above this error and see why these files were not generated.

Yes and i have over 1Tb of space so it should work, im missing Texture2DArrayThumbnailRenderer.generated.h and i cant get it to generate
here is the link: https://github.com/Phyronnaz/UnrealEngine/releases

Oh you are not compiling the base repo. Yeah it would be up to the developer of this thing to add support for linux. It looks like he missed target for those files somewhere for Linux. Sadly he does not do it as a plugin which would make it more portable.

Try creating bug in his github for this, it might be an easy fix.

Okay thank you i appreciate the help!

Actually is there a way i can fix this myself? the developer isn’t very helpful

Yes!

That is the short unhelpful answer.

I glanced over what was added and it is not very obvious what is wrong on the first glance it looks like it should work ok.

I would need to run the build to see more but sadly I am away from my main PC for a week or so.

So in the full build log there should be a place where these files failed to be generated(my best guess). And that is where you need to look what is wrong.