[PyQt] Error when build latest PyQt-gpl-5.3.1

MOHAMED BLACK bl3a3ck at gmail.com
Sun Jun 22 18:24:36 BST 2014


hi,

i get this error when build the latest PyQt5

error log attached

windows Xp SP3
VC 2010 SP1
Qt 5.3.0
python 3.4.1

sip sip-4.16.2-snapshot-e4dc9d633742
PyQt PyQt-gpl-5.3.1-snapshot-65acf1dcaa30

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140622/afc367b0/attachment.html>
-------------- next part --------------
        cd Qt\ && ( if not exist Makefile C:\Qt\Qt5.3.0\5.3\msvc2010_opengl\bin\
qmake.exe C:\py3.4\pyqtdeploy\Src\PyQt-gpl-5.3.1-snapshot-65acf1dcaa30\Qt\Qt.pro
 -o Makefile ) && "C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.ex
e" -f Makefile

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        "C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f Make
file.Release

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -W3 -DUNICODE -DWIN32 -DQT_NO_D
EBUG -DQT_PLUGIN -DNDEBUG -I"." -I"C:\Python34\Include" -I"C:\Qt\Qt5.3.0\5.3\msv
c2010_opengl\mkspecs\win32-msvc2010" -Forelease\ @C:\DOCUME~1\BH\LOCALS~1\Temp\n
m13B.tmp
sipQtcmodule.c
.\sipQtcmodule.c(15) : error C2275: 'PyObject' : illegal use of this type as an
expression
        c:\python34\include\object.h(109) : see declaration of 'PyObject'
.\sipQtcmodule.c(15) : error C2065: 'mod' : undeclared identifier
.\sipQtcmodule.c(25) : error C2065: 'mod' : undeclared identifier
.\sipQtcmodule.c(27) : error C2065: 'mod' : undeclared identifier
.\sipQtcmodule.c(27) : warning C4047: 'function' : 'PyObject *' differs in level
s of indirection from 'int'
.\sipQtcmodule.c(27) : warning C4024: 'PyModule_GetDict' : different types for f
ormal and actual parameter 1
.\sipQtcmodule.c(28) : error C2065: 'mod' : undeclared identifier
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.


More information about the PyQt mailing list