I created a blank project and tried building the Linux server, but an error I’ve never seen before occurred.
I Clean Engine Intermediate and Rebuild but error
BUILD FAILED: AddBuildProductsFromManifest: C:\Users\fatma\Documents\Unreal Projects\MyProject\Binaries\Linux\MyProjectServer.sym was in manifest “E:\UnrealEngine\Engine\Intermediate\Build\Manifest-2-MyProjectServer-Linux-Development.xml” but could not be found.
(Sorry about the caps, I do not feel like typing again)
FIXED after 20 hours of sluething!!!
TO ANYBODY GETTING THIS ISSUE, I HAVE SOLVED IT! FIRST, YOU HAVE TO DOWNLOAD the LLVM STABLE VERSION FROM THEIR GITHUB PAGE. WHEN SETTING UP THE INSTALLATION, SET IT TO ADD TO the ENVIRONMENT VARIABLES FOR X USERS. THEN, MAKE SURE IT IS IN THE PATH LOCATION OF SYSTEM VARIABLES. YOU ALSO HAVE TO PATCH THE CLANG INSTALLATION, AS IT IS MISSING COMPONENTS.
STEP 1:
Download a stable version of Mingw64 for Windows and copy the files llvm-objcopy or objcopy, libwinthread-1.dll, and llvm-strip.exe to your clang \bin folder (x64 one, not the other).
STEP 2:
Next, you have to open a new version of the command prompt and run the following script in your \Binaries\Linux folder of your project:
Clang and LLVm must be in different folders than the UE5s. I left them in their default download locations.
Server is the name of my build target.
If you get issues with what I said above, the Packaging fails with a manifest error. Unreal expects the projectname_Server.sym file, but it’s missing. You need to fix your clang path to have llvm-objcopy.exe and install LLVM for Windows x64, and generate a .sym file in your project’s Linux binaries folder using the script