Re: Linking debug C++ DLL with python dlls

2007-11-08 Thread Martin v. Lo
> So I decided to download and build the debug version of python2.5.1/ > As it seems I also need to compile all relevant extension modules > (*.pyd) in debug as well - is this correct? That's correct. > I tried to change the code above (just for fun) so in both cases i'll > use python25.lib and i

Re: Linking debug C++ DLL with python dlls

2007-11-08 Thread Mathieu Gontier
Hello, I often build Python on Windows. What I can say is it not so trivial to build debug libraries for Python: each debug library must have the postfix *_d.dll/.pyd. Another useful information. On Windows, a shared library is linked to our application though a associated file with the .lib e

Re: Linking debug C++ DLL with python dlls

2007-11-08 Thread brzrkr0
On Nov 8, 4:07 am, [EMAIL PROTECTED] wrote: > I tried to change the code above (just for fun) so in both cases i'll > use python25.lib and in debug compilation I got linker errors on > unresolved externals. seems like the debug version exports more > methods than the release version. I usually jus

Linking debug C++ DLL with python dlls

2007-11-08 Thread moshehaim1
Hi, I am working with C++ code that needs to be maintained both in debug and release versions. The environment is Windows 32 bit with MSVC8. I downloaded the python installation for Win32 and installed it. When, however, I tried to compile my DLLs in debug mode i got link errors specifying that I