[PyQt] SIP build problem with VS2008 Express Edition

2010-01-26 Thread Darryl Wallace
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 listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] SIP build problem with VS2008 Express Edition

2010-01-26 Thread Demetrius Cassidy
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 listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] SIP build problem with VS2008 Express Edition

2010-01-26 Thread Darryl Wallace
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
dcassid...@mass.rr.comwrote:

 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 listPyQt@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/
__
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] SIP build problem with VS2008 Express Edition

2010-01-26 Thread Demetrius Cassidy
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 
dcassid...@mass.rr.com mailto:dcassid...@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 listPyQt@riverbankcomputing.com
mailto:PyQt@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/
__


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt