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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gerrat Rickert
Sent: Saturday, 7 July 2007 7:22 AM
To: python-win32@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

 

<<attachment: winmail.dat>>

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to