Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/283.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cmake MSVC不支持生成libLLVM_Cmake_Llvm - Fatal编程技术网

Cmake MSVC不支持生成libLLVM

Cmake MSVC不支持生成libLLVM,cmake,llvm,Cmake,Llvm,我正在尝试在我的Windows 10计算机上构建并安装LLVM 9.0.0 我使用C++工具安装了Cube和VisualStudio 2019,并使用以下策略使用CMAG:/P>构建和安装LVVM > cmake . -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_INCLUDE_TESTS=OFF > cmake --build . --config Release --target INSTALL -j8 第一个命令出现以下错误: Generating li

我正在尝试在我的Windows 10计算机上构建并安装LLVM 9.0.0

我使用C++工具安装了Cube和VisualStudio 2019,并使用以下策略使用CMAG:/P>构建和安装LVVM
> cmake . -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_INCLUDE_TESTS=OFF
> cmake --build . --config Release --target INSTALL -j8
第一个命令出现以下错误:

Generating libLLVM is not supported on MSVC

请注意,我需要动态构建LLVM,否则它不会链接。有什么想法吗?

DYLIB
相关选项设置为off。@arrowd我需要使用
DYLIB
。到目前为止,我所做的是使用mingwmakefilegenerator在本地安装LLVM,到目前为止它已经成功了;仍在测试中。