embedding error

Alex Martelli aleax at aleax.it
Thu Nov 7 17:54:16 EST 2002


Lance wrote:

> Hi,
> 
> The code in section 5.3 of the Python "Extending and Embedding the Python
> Interpreter" won't compile for me. I get a link error,
> 
> LINK : fatal error LNK1104: cannot open file "python22_d.lib"
> 
> I include stdafx.h and python.h at the top of my C program.
> 
> Python22_d.lib is not on my machine. I'm running a recent release of
> PythonWin.
> 
> Any suggestions would be appreciated.

Use a "release" configuration of your Visual C++ project, NOT a
"debug" configuration.


Alex




More information about the Python-list mailing list