[LLVMdev] cmake broken on windows?

Xu Zhongxing xu_zhong_xing at 163.com
Sun Dec 25 03:10:47 PST 2011


Python 2.x works. Thanks Joey.

于 2011/12/25 18:41, Joey 写道:
> Which version of Python?
>
> Looks like the same error I had when trying to use 3.x. You have to 
> use a 2.x version of Python.
>
> Joey
>
> On Sunday, 25 December 2011, Xu Zhongxing <xu_zhong_xing at 163.com 
> <mailto:xu_zhong_xing at 163.com>> wrote:
> > 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!
> >
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> > 





More information about the llvm-dev mailing list