[PyQt] sip: building my sip module in debug

Phil Thompson phil at riverbankcomputing.com
Mon May 9 17:35:11 BST 2011

On Mon, 9 May 2011 12:15:54 -0400, Belzile Marc-André <mabxsi at hotmail.com>
> Hi,
> 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
>         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
> debug my module not python itself.
> I tried removing the code in sipconfig.py where python_d.lib is
> but I still get the error.
> thanks-mab

The only way is to hack at configure.py until it works. It's on the TODO
list to add options to configure debugging more finely.


More information about the PyQt mailing list