[Numpy-discussion] npy_log2 undefined on Linux
matthew.brett at gmail.com
Sun Oct 26 04:54:01 EDT 2014
On Sat, Oct 25, 2014 at 11:26 PM, David Cournapeau <cournape at gmail.com> wrote:
> Not exactly: if you build numpy with mingw (as is the official binary), you
> need to build everything that uses numpy C API with it.
Some of the interwebs appear to believe that the mingw .a file is
compatible with visual studio:
I can get the program to compile by copying libnpymath.a as
npymath.lib, followed by many linker errors like:
npymath.lib(npy_math.o) : error LNK2019: unresolved external symbol
_cosf referenced in function _npy_cosf
Perhaps, as the Onion once said "error found on internet"...
More information about the NumPy-Discussion