gpt4 book ai didi

clang - LLVM 由于缺少变量而无法编译

转载 作者:行者123 更新时间:2023-12-04 13:52:21 28 4
gpt4 key购买 nike

当我尝试使用来自 here 的以下命令编译 llvm 时,cmake "Unix Make Files"-DCMAKE_BUILD_TYPE=Debug ~/llvm/1/llvm/

我收到以下错误:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBCXXABI_LIBCXX_INCLUDES
used as include directory in directory /home/salman/llvm/1/llvm/projects/libcxxabi/src
used as include directory in directory /home/salman/llvm/1/llvm/projects/libcxxabi/src
used as include directory in directory /home/salman/llvm/1/llvm/projects/libcxxabi/src
used as include directory in directory /home/salman/llvm/1/llvm/projects/libcxxabi/src

这是为什么呢?我用谷歌搜索但找不到可能的解决方案。

最佳答案

我刚刚解决了这个问题。

here :

Check out libcxx and libcxxabi into llvm/projects

确保在 llvm/projects 中检查 libcxx 和 libcxxabi。

关于clang - LLVM 由于缺少变量而无法编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29203953/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com