[PyQt] SIP build problem with VS2008 Express Edition

Demetrius Cassidy dcassidy36 at mass.rr.com
Tue Jan 26 22:09:40 GMT 2010


Itt works fine with VS2008 Professional edition - at least on the latest 
builds. I'm sorry to say that I've never seen that error, but it sounds 
more like maybe you need to re-install the latest C++ redist package 
than a problem with PyQt4.

Darryl Wallace wrote:
> I am using an existing commercial license and I had locked down the 
> version of my development tools (hence, PyQt4.4.4).  I previously used 
> MinGW to build the libraries (both Qt and PyQt) but I am hoping to get 
> some smaller binaries for distribution.  
>
> You were correct about the deprecated feature. SIP >4.7.x no longer 
> uses %SIPOptions (which is on line 73 of QtCoremod.sip).
>
> Regardless, that still doesn't explain the odd behaviour of SIP 4.7.9 
> w.r.t. error R6034 when built with VS 2008 (especially when 4.8.2 
> works fine).
>
> I can likely find a work/around.  So far commenting out the line 73 of 
> QtCoremod.sip allowed it to continue.  I haven't had a chance to fully 
> build it yet.
>
> Thanks,
> Darryl
>
> On Tue, Jan 26, 2010 at 4:54 PM, Demetrius Cassidy 
> <dcassidy36 at mass.rr.com <mailto:dcassidy36 at mass.rr.com>> wrote:
>
>     It's very likely that PyQt 4.4.4 uses some deprecated syntax that
>     was removed in SIP 4.8. Are you not able to build using the latest
>     PyQt4 release?
>
>     Darryl Wallace wrote:
>
>         Hello,
>
>         I am trying to build SIP v4.7.9 with VS2008 Express Edition
>         and Python 2.5.4 via the Visual Studio 2008 Command Prompt.
>
>         When I attempt to run sip.exe from the c:\python25 I get the
>         dreaded R6034 Runtime Error!
>
>         "R6034
>         An application has made an attempt to load the C runtime
>         library incorrectly.
>         Please contact the application's support team for more
>         information."
>
>         The odd thing is that sip.exe will run if left in the
>         sip4.7.9\sipgen directory.
>
>         Has any one come across this?   I am trying to build PyQt4.4.4.
>
>         Side note: I've just attempted to build SIP4.8.2 and SIP 4.10
>         and now, these works properly.  But now when I run
>         configure.py for PyQt4.4.4 I get the following error:
>         sip: sip/QtCore/QtCoremod.sip:73: syntax error
>
>         Thanks,
>         Darryl
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         PyQt mailing list    PyQt at riverbankcomputing.com
>         <mailto:PyQt at riverbankcomputing.com>
>         http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
>
>
>
> -- 
> ______________________________________
> Darryl Wallace: Project Leader
> ProSensus Inc.
> McMaster Innovation Park
> 175 Longwood Road South, Suite 301
> Hamilton, Ontario, L8P 0A1
> Canada        (GMT -05:00)
>
> Tel:       1-905-528-9136
> Fax:       1-905-546-1372
>
> Web site:  http://www.prosensus.ca/
> ______________________________________



More information about the PyQt mailing list