UnrealBuildTool:ld.lld:错误:无法找到库

时间:2019-03-19 12:55:32

标签: linux linker linker-errors unreal-engine4

操作系统: Manjaro Linux 4.19.28-1-MANJARO

我对ld中的UnrealBuildTool有一些疑问。我对所有虚幻的东西都是全新的。

一周前,我发现一些Unreal-based Opensource project.发布的二进制版本运行良好。但是它不能在我的PC上构建。我认为这是gcc链接器找不到assimp library

因此,我设置了环境变量'LIBRARY_PATH''LD_LIBRARY_PATH',但是UnrealBuildTool似乎未使用本地计算机的ld链接器。

有人对此有想法吗?

日志


  [440/442] Compile BuildSettings.cpp
  [441/442] Compile pugixml.cpp
  [442/442] Link (lld) CarlaEditor
  /home/suho/Repository/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu/bin/ld.lld: error: unable to find library -lassimp
  clang++: error: linker command failed with exit code 1 (use -v to see invocation)
  ERROR: UBT ERROR: Failed to produce item: /home/suho/Workspace/carla-map-editor/Unreal/CarlaEditor/Binaries/Linux/CarlaEditor
         (see /home/suho/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-CarlaEditor-Linux-Development.txt for full exception trace)
  Total build time: 646.23 seconds (Local executor: 0.00 seconds)
Took 646.750887s to run mono, ExitCode=5
ERROR: UnrealBuildTool failed. See log for more details. (/home/suho/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-CarlaEditor-Linux-Development.txt)
       (see /home/suho/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
AutomationTool exiting with ExitCode=5 (5)
RunUAT ERROR: AutomationTool was unable to run successfully.
make: *** [Util/BuildTools/Linux.mk:13: package] Error 5

完整的日志在这里:https://pastebin.com/HmLphXTe

0 个答案:

没有答案