Python15.Dll & Borland C++ Builder 3

Gene Chiaramonte gchiaramonte at prodigy.net
Tue Dec 14 09:02:29 EST 1999


I'm using C++ Builder 3 and tried including Python.h to see if I could use
the Python15.dll.

Here's a snippet of what happens:

#include "Python.h"  // this is fine

PyObject *t;  // this is fine

Py_Initialize();  // !!! this causes the following Link Error

[LinkerError] Unresolved external '_Py_Initialize' referenced from C:\MY
DOCUMENTS\DEV\CPP3\IPORT\UNIT2.OBJ.

Any idea why this happens and how to fix it?

Thanks,

Gene





More information about the Python-list mailing list