[Pythonmac-SIG] embedding link errors

Jared Schiffman jarfish@media.mit.edu
Mon, 12 Feb 2001 12:19:28 -0500


I'm trying to embed Python in my C/C++ application,
using CodeWarrior 6.0.

When I compile just C files, it all works fine. When
I use a C++ file or just activate the C++ compiler,
I get the following link error:

	Link Error : undefined 'PyMac_Initialize()' (code)

And yes, I've included the PythonCore library.

Any help on this topic would be thoroughly appreciated.

thanks,

Jared Schiffman

________________________________
 aesethetics + computation group
  mit media lab