Using Py_InitModule3 -> [Linker Error] Unresolved external '_Py_InitModule4TraceRefs'

iwl Ingo.Wolf at gmx.de
Sat Dec 9 08:07:01 EST 2006


Fredrik Lundh schrieb:
>
> you've mixed components compiled with Py_TRACE_REFS with components that
> aren't compiled with Py_TRACE_REFS.  don't do that.
>
H'm does this mean I have to write something like
#define Py_TRACE_REFS
befor I include <Python.h>

> (what is it with you C programmers these days, btw?  have they stopped
> teaching how to how use "grep" and library inspection tools when they
> teach C and C++ ?)
>
I'm afraid so - I haven't teach me anything about grep yet.

I just downloaded the Phyton 2.5 Windows-Installer including C-Libs and

Headers and include <Python.h> and linked Python25.lib after some
conversion needed for Borland C++ Builder 6 und tryed the embedded
Demo. In the Phyton module include file I red something that this
happens 
when size_t_size != sizeof_int.




More information about the Python-list mailing list