[PyQt] Error Build sip

MOHAMED BLACK bl3a3ck at gmail.com
Tue May 20 16:25:55 BST 2014


Hi,

i can't build last sip with python 3.4.1

windows : Xp Sp3
python : 3.4.1
sip : sip-4.16-snapshot-f6acb8ed7b65
Vs2010 Sp1

i attached generated file from command
nmake >>err.txt

error :
descriptors.c
.\descriptors.c(156) : error C2275: 'sipMethodDescr' : illegal use of this
type as an expression
        .\descriptors.c(53) : see declaration of 'sipMethodDescr'
.\descriptors.c(156) : error C2065: 'md' : undeclared identifier
.\descriptors.c(160) : error C2065: 'md' : undeclared identifier
.\descriptors.c(160) : error C2223: left of '->mixin_name' must point to
struct/union
.\descriptors.c(161) : error C2065: 'md' : undeclared identifier
.\descriptors.c(161) : error C2223: left of '->mixin_name' must point to
struct/union
.\descriptors.c(161) : error C2198: 'PyObject_GetAttr' : too few arguments
for call
.\descriptors.c(163) : error C2065: 'md' : undeclared identifier
.\descriptors.c(163) : error C2223: left of '->pmd' must point to
struct/union
.\descriptors.c(163) : error C2198: 'PyCFunction_NewEx' : too few arguments
for call

thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140520/e1514c2f/attachment.html>
-------------- next part --------------
	cd sipgen
	"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"
	cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W0 -DNDEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I. -Fo @C:\DOCUME~1\BH\LOCALS~1\Temp\nm82.tmp
main.c
transform.c
gencode.c
extracts.c
export.c
heap.c
parser.c
lexer.c
Generating Code...
	link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:sip.exe.manifest /SUBSYSTEM:CONSOLE /OUT:sip.exe @C:\DOCUME~1\BH\LOCALS~1\Temp\nm83.tmp
	mt -nologo -manifest sip.exe.manifest -outputresource:sip.exe;1
	cd siplib
	"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"
	cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W0 -DNDEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I. -IC:\Python34\include -Fo @C:\DOCUME~1\BH\LOCALS~1\Temp\nm86.tmp
siplib.c
apiversions.c
descriptors.c
.\descriptors.c(156) : error C2275: 'sipMethodDescr' : illegal use of this type as an expression
        .\descriptors.c(53) : see declaration of 'sipMethodDescr'
.\descriptors.c(156) : error C2065: 'md' : undeclared identifier
.\descriptors.c(160) : error C2065: 'md' : undeclared identifier
.\descriptors.c(160) : error C2223: left of '->mixin_name' must point to struct/union
.\descriptors.c(161) : error C2065: 'md' : undeclared identifier
.\descriptors.c(161) : error C2223: left of '->mixin_name' must point to struct/union
.\descriptors.c(161) : error C2198: 'PyObject_GetAttr' : too few arguments for call
.\descriptors.c(163) : error C2065: 'md' : undeclared identifier
.\descriptors.c(163) : error C2223: left of '->pmd' must point to struct/union
.\descriptors.c(163) : error C2198: 'PyCFunction_NewEx' : too few arguments for call
qtlib.c
threads.c
objmap.c
voidptr.c
array.c
Generating Code...

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.


More information about the PyQt mailing list