Missing linux libraries on engine source

I have downloaded the source version of the engine. I just installed the CrossToolChain, generated project files and rebuilt the editor (im using source version with 4.9 version). I started building for linux and this happened. I’ve already packaged for win64 and 32 successfully.

MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/zlib/zlib-1.2.5/Lib/Linux/x86_64-unknown-linux-gnu/libz.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/jemalloc/lib/Linux/x86_64-unknown-linux-gnu/libjemalloc.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/elftoolchain/lib/Linux/x86_64-unknown-linux-gnu/libelf.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/elftoolchain/lib/Linux/x86_64-unknown-linux-gnu/libdwarf.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/lib/Linux/x86_64-unknown-linux-gnu/libSDL2.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu/lib/libicudata.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu/lib/libicuuc.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu/lib/libicui18n.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu/lib/libicule.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu/lib/libiculx.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu/lib/libicuio.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/FreeType2/FreeType2-2.4.12/Lib/Linux/x86_64-unknown-linux-gnu/libfreetype2412.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/libPNG/libPNG-1.5.2/lib/Linux/x86_64-unknown-linux-gnu/libpng.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/PhysX/APEX-1.3/lib/Linux/x86_64-unknown-linux-gnu/libApexCommonPROFILE.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/PhysX/APEX-1.3/lib/Linux/x86_64-unknown-linux-gnu/libApexFrameworkPROFILE.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/PhysX/APEX-1.3/lib/Linux/x86_64-unknown-linux-gnu/libApexSharedPROFILE.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/PhysX/APEX-1.3/lib/Linux/x86_64-unknown-linux-gnu/libAPEX_DestructiblePROFILE.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/PhysX/APEX-1.3/lib/Linux/x86_64-unknown-linux-gnu/libAPEX_ClothingPROFILE.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/PhysX/APEX-1.3/lib/Linux/x86_64-unknown-linux-gnu/libAPEX_LegacyPROFILE.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/PhysX/APEX-1.3/lib/Linux/x86_64-unknown-linux-gnu/libAPEX_LoaderPROFILE.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/Ogg/libogg-1.2.2/lib/Linux/x86_64-unknown-linux-gnu/libogg.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/Vorbis/libvorbis-1.3.2/lib/Linux/x86_64-unknown-linux-gnu/libvorbis.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/Vorbis/libvorbis-1.3.2/lib/Linux/x86_64-unknown-linux-gnu/libvorbisfile.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/Vorbis/libvorbis-1.3.2/lib/Linux/x86_64-unknown-linux-gnu/libvorbisenc.a'
MainFrameActions: Packaging (Linux): UnrealBuildTool: clang++.exe: error: no such file or directory: 'E:/UFork/UnrealEngine-4.9.2-release/Engine/Source/ThirdParty/libOpus/opus-1.1/Linux/x86_64-unknown-linux-gnu/libopus.a'

Hey Zarkopafilis-

There are a few questions I’d like to ask to give me a better understand of what is happening.

  • Are you trying to build the engine itself or a project?
  • Are you trying to compiling the code or trying to package?
  • Are you using a Windows machine or a Linux Machine?
  • When you mentioned installing the Cross Toolchain, are you referring to cross compiling?

Cheers

Doug Wilson

@Doug Wilson
I have built the engine. I am using a Windows machine, trying to package for linux. I have installed the cross-toolchain (and then rebuilt the editor).

You may need to build UnrealPak and ShaderCompileWorker for your host platform (Win64 or Win32 depending on what you’re using). Also make sure that CrashReportClient is built as well. You can find more information on cross compiling and what steps need to be taken to package here: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

Cheers

Doug Wilson

After installing the CrossToolChain I had to run Setup.bat to download the missing Linux Libraries.

Where’s Setup.bat found?

It should be in the root folder of your Engine directory. For example, I downloaded/cloned the engine from Github to the Documents folder. So I would find Setup.bat in Documents/UnrealEngine-4.12.3-release.

That same folder should also contain Setup.command (for Mac) and Setup.sh (for Linux). Basically, Setup.bat just downloads the dependencies for the platforms you wish to target.

The binary version of the editor (the one downloaded through the Epic Launcher) does not have this file if my knowledge is correct. Only the source version of the editor has it.