适用于 mac 的点击室安装失败:"AppleClang is not supported, you should install clang from brew."



我按照以下说明进行操作。当我运行以下命令时

cmake .. -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang`

我有这个错误:

CMake Error at cmake/tools.cmake:20 (message):
AppleClang is not supported, you should install clang from brew.
Call Stack (most recent call first):
CMakeLists.txt:44 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/myuser/ClickHouse/build/CMakeFiles/CMakeOutput.log".

你知道发生了什么吗?

苹果clang 12.0.0版(clang-1200.0.3.21(

cmake 3.18.4版

macOs Catalina 10.15.7

谢谢!

我再次安装了clang,它成功了。关注这个https://embeddedartistry.com/blog/2017/02/24/installing-llvm-clang-on-osx/

相关内容

最新更新