<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<div>Hi Phil,</div><div><br></div>What sort of magic is required for configure.py ? <br><br><div>thanks<br>-mab<br><br><br><br>> Date: Mon, 9 May 2011 17:35:11 +0100<br>> From: phil@riverbankcomputing.com<br>> To: mabxsi@hotmail.com<br>> CC: pyqt@riverbankcomputing.com<br>> Subject: Re: [PyQt] sip: building my sip module in debug<br>> <br>> On Mon, 9 May 2011 12:15:54 -0400, Belzile Marc-André <mabxsi@hotmail.com><br>> wrote:<br>> > Hi,<br>> > I want to compile my sip module in debug but the linker fails as I don't<br>> > have python debug installed locally. <br>> > link /NOLOGO /DLL /MANIFEST /MANIFESTFILE:sipy.pyd.manifest<br>> > /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32'<br>> > name='Microsoft.Windows.Common-Controls' version='6.0.0.0'<br>> > publicKeyToken='6595b64144ccf1df' language='*'<br>> > processorArchitecture='*'" /DEBUG /OUT:sipy.pyd<br>> > @C:\Users\belzilm\AppData\Local\Temp\nm6BE.tmpLINK : fatal error<br>> > LNK1104: cannot open file 'python26_d.lib'NMAKE : fatal error<br>> > U1077: '"C:\Program Files (x86)\Microsoft Visual Studio<br>> > 9.0\VC\BIN\link.EXE"' : return code '0x450'Stop.<br>> > How can I tell sipconfig.py to not link with python_d.lib ? I just want<br>> to<br>> > debug my module not python itself.<br>> > I tried removing the code in sipconfig.py where python_d.lib is<br>> generated<br>> > but I still get the error.<br>> > thanks-mab<br>> <br>> The only way is to hack at configure.py until it works. It's on the TODO<br>> list to add options to configure debugging more finely.<br>> <br>> Phil<br></div> </body>
</html>