Integrating with C++ (VS.NET 2002)

Earl Woodman earlw at roadrunner.nf.net
Tue Apr 13 08:25:27 EDT 2004


I'm having some trouble linking my C++ program with the python
library. I'm getting '<symbol> already defined in libcmtd.lib'. I've
already changed pyconfig.h so that the debug library uses python23.lib
instead of the _d version, and I get a similar message when I link
release (libcmt.lib). Any ideas what I'm doing wrong? I've tried
putting the library search path to C:\Python23\libs at both the
beginning and the end of the list of library paths in the Options
dialog of VS.NET, and I've even tried adding the lib directly into my
additional libraries setting within the properties window for my
executable.

Thanks



More information about the Python-list mailing list