[PyQt] sip: building my sip module in debug

Belzile Marc-André mabxsi at hotmail.com
Mon May 9 17:15:54 BST 2011

I want to compile my sip module in debug but the linker fails as I don't have python debug installed locally. 
        link /NOLOGO /DLL /MANIFEST /MANIFESTFILE:sipy.pyd.manifest /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /DEBUG /OUT:sipy.pyd @C:\Users\belzilm\AppData\Local\Temp\nm6BE.tmpLINK : fatal error LNK1104: cannot open file 'python26_d.lib'NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.EXE"' : return code '0x450'Stop.
How can I tell sipconfig.py to not link with python_d.lib ? I just want to debug my module not python itself.
I tried removing the code in sipconfig.py where python_d.lib is generated but I still get the error.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110509/8dfe256e/attachment.html>

More information about the PyQt mailing list