![](/img/trans.png)
[英]Monocular Total Capture compilation process error : Makefile:83: recipe for target 'CMakeFiles/mylib.dir/all' failed
[英]CMake recipe for target 'all' failed. Library error
我正在使用 Docker Compose 構建一個項目,它使用 CMake 生成錯誤。 (Ubuntu 16.04,安裝最新CMake)
https://pastebin.com/i9qhF8A3 (日志太長)
#14 89.11 LLParser.cpp:(.text._ZN4llvm8LLParser9ParseCallERPNS_11InstructionERNS0_16PerFunctionStateENS_8CallInst12TailCallKindE+0xc0c): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
如果我在沒有 Compose 的單獨 Docker 中構建我的項目,則不會顯示錯誤。 此外,如果項目是使用 Ubuntu 20.04 構建的,則不會發生錯誤,但我需要使用 Ubuntu 16.04。 我已將 GLibc 和 GLibcxx 更新為 Ubuntu 20.04 的那些。 我對可能導致此錯誤的原因一無所知。
估計和使用的cpp開發環境有關系,我一般都是安裝sudo apt install build-essential
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.