当我尝试使用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
为什么?我用谷歌搜索但找不到可能的解决方案。
答案 0 :(得分:1)