I want to build LLVM clang compiler, but CMake ends up with the following error message:
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!
I've got all needed tools installed.
I've found the solution.
I've just installed another version of Python: 2.x (2.72), (still x86-64)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With