This is the ouput in the UnrealBuildTool log:

[301/301] Link ThirdPersonServer
D:/GitHub-Release-4.16/3427662/Engine/Source/ThirdParty/OpenVR/OpenVRv1_0_6/lib/linux64/ file not recognized: File format not recognized
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: C:\Users\Michael.Karambelas\Documents\Unreal Projects\ThirdPerson\Binaries\Linux\ThirdPersonServer

This might be related to changes made for [Link Removed]. I am also attaching the .cs file used for the server listed in the repro.

Steps to Reproduce


  1. Open UE4Editor.exe
  2. Create a new C++ Third Person Template Project named ThirdPerson
  3. Build the C++ Third Person Template Project for Development Editor Win64
  4. Navigate to Path provided in comments
  5. Copy the ThirdPersonServer.Target.cs file to the project's ThirdPerson/Source folder
  6. Navigate to the ThirdPerson/Config folder and Open the DefaultEngine.ini file
  7. Add the following text to the DefaultEngine.ini file:
    ; Possible values for architecture: X86_64UnknownLinuxGnu, ArmUnknownLinuxGnueabihf, AArch64UnknownLinuxGnueabi
  8. Save and Close the DefaultEngine.ini file
  9. Open the ThirdPerson project into UE4Editor.exe
  10. Open the Project Launcher
  11. Create a new Custom Launch Profile
  12. Set the following Custom Launch Profile settings:
  • Project = ThirdPerson
  • Build = Checked
  • Cook = By The Book
  • Cooked Platforms = WindowsNoEditor + LinuxServer
  • Cooked Maps = ThirdPersonExampleMap
  • Package = Package & Store Locally
  • Deploy = Do Not Deploy
  1. Run the Custom Launch Profile

Process fails during the build phase trying to link ThirdPersonServer.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-44806 in the post.

Login to Vote

Affects Versions4.16
Target Fix4.16
Fix Commit3433641
Release Commit3433641
CreatedMay 8, 2017
ResolvedMay 10, 2017
UpdatedJan 31, 2018