Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to obtain pre-built *debug* version of Python library (e.g. Python27_d.dll) for Windows
    primarykey
    data
    text
    <p>Firstly, I should state that my current development environment is <strong>MSYS + mingw-w64 + ActivePython</strong> under <strong>Windows 7</strong> and that on a normal day I am <em>primarily</em> a Linux developer. I am having no joy obtaining, or compiling, a version of the Python library with debug symbols. </p> <p>I need both <strong>32bit and 64bit debug versions</strong> of the <strong>Python27.dll</strong> file, ideally. I want to be able to embed Python and implement Python extensions in C++, and be able to call upon a seamless debugging facility using the <strong>gdb-7.4</strong> I have built for mingw-w64, and WingIDE for the pure Python side of things. </p> <p>Building <strong>Python 2.7.3</strong> from source with my mingw-w64 toolchain is proving too problematic -- and before anyone flames me for trying: I acknowledge that this environment is unsupported, but I thought I might be able to get this working with a few judicious patches (hacks) and:</p> <p><code>make OPT='-g -DMS_WIN32 -DWIN32 -DNDEBUG -D_WINDOWS -DUSE_DL_EXPORT'</code> </p> <p>I was wrong... I gave up at posixmodule.c since the impact of my changes became uncertain; ymmv. </p> <p>I have tried building with <strong>Visual C++ 2010 Express</strong> but being primarily a Linux developer the <em>culture-shock</em> is too much for me to bear today; the Python project does not even import successfully. Apparently, I need Visual C++ 2008, yet I am already convinced I don't want to go down this road if at all possible... </p> <p>It's really surprising to me that there is not a <strong>zip-file providing the requisite .dlls somewhere on the Internet</strong>. ActiveState should really provide these as an optional download with each release of ActivePython that they make -- perhaps that's where the paid support comes in ;-).</p> <p><strong>What is the best way to obtain the Python debug library files given my environment?</strong> </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload