On Tuesday 18 March 2003 09:29, christiaan.kok@philips.com wrote:
Ok, I found the problem. Within libnumpy-access.h yet again arrayobject.h is called which causes the problem. So changing this to
#include "c:\python22\include\Python.h" #include "c:\python22\include\numeric\arrayobject.h" #include "libnumpy-access.h" #define PY_ARRAY_UNIQUE_SYMBOL
static PyObject* find_minimum(PyObject *self, PyObject *args){ ........
Now it works perfectly. Probably my code runs under linux anyway due to
In that case, you can as well remove the #define line, because it has no effect when used after including arrayobject.h. Konrad. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------