Problem building extension sample with Python 2.2.3

Bren iambren at sympatico.ca
Mon Jul 21 22:16:53 CEST 2003


Hi, 

I'm trying to build the sample extension file from
http://www.python.org/doc/current/ext/simpleExample.html.

I get a linker error:

Linking...
spam.obj : error LNK2001: unresolved external symbol
__imp__Py_InitModule4TraceRefs

Also, I find it necessary to ignore python22_d.lib and link
python22.lib explicitly when I make a Debug build.

I'm using MSVC++ 6.

Any help appreciated, thanks.




More information about the Python-list mailing list