Ha, found the problem! I thought I had included arrayobject.h and import_array
correctly, but due to the preprocessor it wasn't defined correctly!
Danny Chan <[EMAIL PROTECTED]> schrieb: Yes, that is not the problem. The
compiling of the source file works fine, it is when the linker tries to cr
Yes, that is not the problem. The compiling of the source file works fine, it
is when the linker tries to create the shared library file that something blows
up.
Lou Pecora <[EMAIL PROTECTED]> schrieb: Did you include arrayobject.h and call
import_array()
in the initialization function, after
Did you include arrayobject.h and call import_array()
in the initialization function, after the call to
Py_InitModule() ?
--- Danny Chan <[EMAIL PROTECTED]> wrote:
> Hi!
> I am trying to compile a c extension that uses numpy
> arrays on windows. I can compile the extension file,
> but once I get
Hi!
I am trying to compile a c extension that uses numpy arrays on windows. I can
compile the extension file, but once I get to the linking stage I get
unresolved references to PyArray_API and import_array. Can anyone help me with
the correct linker flags?
Thanks, Danny
running build
runnin