[LLVMdev] cmake broken on windows?

Xu Zhongxing xu_zhong_xing at 163.com
Sat Dec 24 21:07:35 PST 2011


I executed

cmake -G "Visual Studio 10" .

on windows, and got the following error message. I have python installed 
and in the path.


CMake Error at CMakeLists.txt:256 (message):
   Unexpected failure executing llvm-build: Traceback (most recent call 
last):

     File "C:/Users/xzx/llvm/utils/llvm-build/llvm-build", line 3, in 
<module>
       import llvmbuild
     File "C:\Users\xzx\llvm\utils\llvm-build\llvmbuild\__init__.py", 
line 1, in
<module>
       from main import main

   ImportError: No module named main


-- Configuring incomplete, errors occurred!





More information about the llvm-dev mailing list