[PyQt] sip: building my sip module in debug

Belzile Marc-André mabxsi at hotmail.com
Mon May 9 18:12:18 BST 2011


Hi Phil,
What sort of magic is required for configure.py ? 

thanks
-mab



> 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>
> wrote:
> > 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='6.0.0.0'
> >         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.
> > 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.
> 
> Phil
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110509/64eb60c5/attachment.html>


More information about the PyQt mailing list