UnrealBuildTool:ld.lld:错误:找不到库

UnrealBuildTool: ld.lld: error: unable to find library

提问人:riemannulus 提问时间:3/19/2019 最后编辑:Zoe is on strikeriemannulus 更新时间:5/18/2019 访问量:3482

问:

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

我有一些问题。我对所有虚幻引擎的东西都很陌生。ldUnrealBuildTool

一周前,我发现了一些基于虚幻引擎的开源项目。 已发布的二进制版本运行良好。但它不能在我的 PC 上构建。我认为这是 gcc linker 找不到的.assimp library

所以我设置了环境变量,但是,似乎没有使用我本地机器的 ld 链接器。'LIBRARY_PATH''LD_LIBRARY_PATH'UnrealBuildTool

有人对此有想法吗?

日志


  [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

Linux 链接 链接器错误 unreal-engine4

评论


答: 暂无答案