[python-win32] Trying to build debug version of win32 extensions

Mark Hammond mhammond at skippinet.com.au
Mon Jul 9 03:25:42 CEST 2007


You also need to build Python itself in debug mode - that creates python_d.*
AFAIK, there has been no decision about the official Python 2.6 compiler and
VS2003 is still the "official" one for 2.5...
 
Cheers,
 
Mark
 
 

-----Original Message-----
From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org]On Behalf Of Gerrat Rickert
Sent: Saturday, 7 July 2007 7:22 AM
To: python-win32 at python.org
Subject: [python-win32] Trying to build debug version of win32 extensions



I'm trying to build a debug version of the win32 extensions (basically to
help track down a memory leak in a COM automation program I've written).  To
that end, I purchased a Visual C++ .Net Deluxe Learning Edition Book (which
is probably the cheapest way to get the Visual C++ compiler required).
Following the instructions in the source distribution, I was able to build a
debug version of python from source (unfortunately, I know very little about
C/C++).  I checked out the python win32 source files, and am trying to build
a debug version of this as well, but I'm not having much success.  Though
matter where I place the main directory with the win32 source files, it
still fails to compile - I get an error:

LINK: fatal error LINK1104: cannot open file 'python24_d.lib'

 

[I'm trying to build using: "python setup.py -q build -debug"]

 

This file exists in the directory I compiled the debug version of the main
python distribution, but I'm not sure what I need to do so that the setup
program can find it.

 

Any help/direction would be appreciated.

 

Thanks,

Gerrat

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5332 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-win32/attachments/20070709/56c915db/attachment.bin 


More information about the Python-win32 mailing list