>>
>
> You forgot to use distutils to compile it, instead of Xcode.
> Specifically, the problem was that you linked to a different
> problem than you are attempting to use it from, potentially with
> incorrect linker flags. distutils solves this problem for you
> because it knows which Py
On Oct 27, 2005, at 12:37 PM, Jaonary Rabarisoa wrote:
> Hi all,
>
>
> I'm trying to write a C++ function that I can use with python. The
> sample code below works well under windows and linux but not under
> mac os x tiger :
>
>
> #include "Python.h"
>
> static PyObject * mHarrisDetector(PyObjec
I would like to run this code from Mac 10.4 environment first as individual program by create main and put some Py_Initialize();
and Py_Finalize()
inside main and compile it. If it can run, it should be able to compiled as .so library.
Regards
Zhi Jaonary Rabarisoa <[EMAIL PROTECTED]>
Hi all,
I'm trying to write a C++ function that I can use with python. The
sample code below works well under windows and linux but not under
mac os x tiger :
#include "Python.h"
static PyObject * mHarrisDetector(PyObject *self, PyObject *args)
{
//Parse the args
const int N = 5