[PyQt] Problem compiling SIP

Francis Brissette Francis.Brissette at autodesk.com
Tue Feb 17 20:06:30 GMT 2009


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090217/6da50be2/attachment-0001.html


More information about the PyQt mailing list