Swig - problem with visual c++ extension exercise

Lyle Johnson lyle at users.sourceforge.net
Wed Nov 26 12:22:51 EST 2003


S Green wrote:

> I keep getting an error unresolved external symbol initexample when
> running python setup.py build,

<snip>

This problem is not unique to Visual C++. Please see this section of the 
SWIG documentation (19.2.3, "Compiling a dynamic module"):

	http://www.swig.org/Doc1.3/Python.html#n6

and pay special attention to the last two paragraphs in that section 
(beginning with "When linking the module, ...").

Hope this helps,

Lyle





More information about the Python-list mailing list