[PyQt] sip: building my sip module in debug
mabxsi at hotmail.com
Mon May 9 18:12:18 BST 2011
What sort of magic is required for configure.py ?
> Date: Mon, 9 May 2011 17:35:11 +0100
> From: phil at riverbankcomputing.com
> To: mabxsi at hotmail.com
> CC: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] sip: building my sip module in debug
> 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
> > /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32'
> > name='Microsoft.Windows.Common-Controls' version='18.104.22.168'
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt