[PyQt] Problem compiling SIP

Matt Newell newellm at blur.com
Wed Feb 18 07:45:35 GMT 2009


On Tuesday 17 February 2009 12:06:30 Francis Brissette wrote:
> Hello,
>
> I have installed MSVC2008 and Python26 on my Windows XP x64 machine but I
> have link errors while compiling SIP.
>
> Here what I have:
>
> C:\sip-4.7.9>python configure.py
> This is SIP 4.7.9 for Python 2.6.1 on win32.
> The SIP code generator will be installed in C:\Python26.
> The SIP module will be installed in C:\Python26\Lib\site-packages.
> The SIP header file will be installed in C:\Python26\include.
> The default directory to install .sip files in is C:\Python26\sip.
> The platform/compiler configuration is win32-msvc2008.
> Creating sipconfig.py...
> Creating top level Makefile...
> Creating sip code generator Makefile...
> Creating sip module Makefile...
>
> C:\sip-4.7.9>nmake
> ... (it's compiling) ...
>    Creating library sip.lib and object sip.exp
> siplib.obj : error LNK2019: unresolved external symbol
> __imp___Py_NoneStruct referenced in function _setTraceMask qtlib.obj :
> error LNK2001: unresolved external symbol __imp___Py_NoneStruct threads.obj
> : error LNK2001: unresolved external symbol __imp___Py_NoneStruct
> siplib.obj : error LNK2019: unresolved external symbol
> __imp__PyArg_ParseTuple referenced in function _setTraceMask ... (other
> similar link errors) ...
>
> Do you have any idea how to fix these link errors ?
>
> Thanks,
> Francis

Are you sure the first python26.dll the linker is finding is 64 bit?




More information about the PyQt mailing list