Mar*_*dej 15 python build llvm clang
我想构建LLVM clang编译器,但CMake最终会出现以下错误消息:
CMake Error at CMakeLists.txt:256 (message):
Unexpected failure executing llvm-build: Traceback (most recent call
last):
File "C:/.../llvm/utils/llvm-build/llvm-build", line 3, in
<module>
import llvmbuild
File "C:\...\llvm\utils\llvm-build\llvmbuild\__init__.py",
line 1, in
<module>
from main import main
ImportError: No module named main
-- Configuring incomplete, errors occurred!
Run Code Online (Sandbox Code Playgroud)
我已经安装了所有需要的工具.
Mar*_*dej 21
我找到了解决方案.
我刚刚安装了另一个版本的Python:2.x(2.72),(仍然是x86-64)