building simple python 'embedding' in vc++6

Bengt Richter bokr at oz.net
Wed May 28 23:27:58 EDT 2003


On 29 May 2003 00:37:06 GMT, thedustbustr at aol.com (TheDustbustr) wrote:

>I'm using MS VC++ 6 to build a simple python (2.2.2) embedding test.  I copied
>the include files into my project's directory.  When I build, it throws linker
>errors: it can't find python22_d.lib.  I can't find it either!  It isnt in
>python22/libs/.
>
>Where is this elusive library?
>
I think you create it by selecting Debug instead of Release for rebuilding the
appropriate project(s) under MSVC++6. I forgot which readme talks about it, but
I think it's explained.

For a quick and dirty test, maybe just build your example as Release, since that ought to
connect with everything that's normally there, without having to build a python debug version.

Regards,
Bengt Richter




More information about the Python-list mailing list