[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Unable to create the C++ code error when building PyQt
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2010-08-25 8:42:42
Message-ID: ec1d95e9c4b2268565373f2831780fb4 () localhost
[Download RAW message or body]

On Tue, 24 Aug 2010 23:34:08 -0700 (PDT), Jiacun wu <cathaywjc@yahoo.com>
wrote:
> Hello,
>  
> After I successfully build and install QScintilla 2.4.4 on Windows XP,
I'm
> trying to build Python bindings with running the following command in
> Visual Studio 2005 Command Prompt:
> python configure.py
> in its Python directory.
>  
> The configure.py yields the following error:
> ----
> QScintilla 2.4.4 is being used.
> PyQt 4.7.4 is being used.
> Qt v4.5.3 free edition is being used.
> SIP 4.10.5 is being used.
> The QScintilla module will be installed in D:\Program
> Files\Python26\Lib\site-packages\PyQt4.
> The QScintilla API file will be installed in
D:\QT\4.5.3\qsci\api\python.
> The QScintilla .sip files will be installed in D:\Program
> Files\Python26\sip\PyQt4.
> The QScintilla module is being built with generated docstrings.
> Generating the C++ source for the Qsci module...
> sip: Usage: sip [-h] [-V] [-a file] [-b file] [-c dir] [-d file] [-e]
[-g]
> [-I dir] [-j #] [-k] [-m file] [-o] [-p module] [-P] [-r] [-s suffix]
[-t
> tag] [-w] [-x feature] [-z file] [file]
> Error: Unable to create the C++ code.
> ----
>  
> BTW, I use Python 2.6.5. And I use all the latest release of SIP, PyQt
and
> QScintilla.
>  
> What’s wrong with me?
>  
> Would you please help me to fix this problem or give me some idea?

It's probably the space in the name D:\Program Files

You might try the current SIP snapshot which has some fixes in this area -
but maybe not for this particular case.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic