[Tutor] python21_d.lib ?

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Thu, 29 Nov 2001 17:18:23 -0800 (PST)


On Fri, 30 Nov 2001, Marcus Konermann wrote:

> I work with windows2000 and the VC++ 6.0 Compiler, but now there=B4s a
> linking problem, VC++ says:
>=20
> Tempor=E4re Dateien und Ausgabedateien f=FCr "AG TEM - Win32 Debug" werde=
n
> gel=F6scht.
> --------------------Konfiguration: AG TEM - Win32
> Debug--------------------
> SWIG !!!
> Kompilierung l=E4uft...
> simanneal.cpp
> simanneal_wrap.cpp
> Linker-Vorgang l=E4uft...
> LINK : fatal error LNK1104: Datei "python21_d.lib" kann nicht geoeffnet
> werden
> Fehler beim Ausf=FChren von link.exe.
>=20
> AG TEM.dll - 1 Fehler, 0 Warnung(en)
>=20
> I searched for the python21_d.lib on my local drive, but i did=B4nt find
> it. Have you got an advice for me ?


There should be a switch under VC++'s project compile options that says
something about compiling "debug" versions of your program.  You'll
probably want to turn this off when working with Python extensions.


Alternatively, you can download the debug libraries in the
"Python-2.1-Debug.zip" file here:

    http://www.python.org/ftp/python/2.1/

They're not included with the standard Python distribution because they're
rarely used by Python developers.


Hope this helps!