Missing `libhlslcc.a` while compiling on Linux

Building from scratch on Ubuntu Linux 16.04 LTS.

Getting the following output while trying to compile the up to date release branch:

bash "/home/vladius/UnrealEngine"/Engine/Build/BatchFiles/Linux/Build.sh CrashReportClient Linux Shipping  
Building CrashReportClient...
Using clang version '3.8.0' (string), 3 (major), 8 (minor), 0 (patch)
Target is up to date
bash "/home/vladius/UnrealEngine"/Engine/Build/BatchFiles/Linux/Build.sh ShaderCompileWorker Linux Development  
Building ShaderCompileWorker...
Using clang version '3.8.0' (string), 3 (major), 8 (minor), 0 (patch)
Performing 1 actions (8 in parallel)
[1/1] Link libShaderCompileWorker-ShaderFormatOpenGL.so
clang: error: no such file or directory: '/home/vladius/UnrealEngine/Engine/Source/ThirdParty/hlslcc/hlslcc/lib/Linux/x86_64-unknown-linux-gnu/libhlslcc.a'
ERROR: UBT ERROR: Failed to produce item: /home/vladius/UnrealEngine/Engine/Binaries/Linux/libShaderCompileWorker-ShaderFormatOpenGL.so
Total build time: 0.71 seconds
Makefile:398: recipe for target 'ShaderCompileWorker' failed
make: *** [ShaderCompileWorker] Error 5

The issue can be fixed by manually compiling the hlslcc library:

cd Engine/Source/ThirdParty/hlslcc/hlslcc/projects/Linux
make
mv ../../lib/libhlslcc.a ../../lib/x86_64-unknown-linux-gnu

You need to run Setup.sh before attempting to build, this should recompiled libhlslcc.a for you.

Hi,
I had the same issue yesterday…
Visit also this page, Can't install UE4 on linux - Platform & Builds - Epic Developer Community Forums
I updated current path with the 4.13 I got from git.

  1. be sure to have clang, installed ( sudo apt-get install clang) to compile libhlslcc.a
  2. cd Engine/Source/ThirdParty/hlslcc/hlslcc/projects/Linux
  3. make
  4. mv …/…/lib/Linux/libhlslcc.a …/…/lib/Linux/x86_64-unknown-linux-gnu