[Numpy-tickets] [NumPy] #898: NumPy trunk doesn't compile on Windows
NumPy
numpy-tickets@scipy....
Tue Sep 9 17:35:32 CDT 2008
#898: NumPy trunk doesn't compile on Windows
-----------------------------+----------------------------------------------
Reporter: albertstrasheim | Owner: somebody
Type: defect | Status: new
Priority: highest | Milestone: Unscheduled
Component: numpy.core | Version: devel
Severity: blocker | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by albertstrasheim):
Ok, I've done some more digging.
If I make the following changes to the generated umathmodule.c it compiles
with Python 2.6 and Visual Studio 2008 on Vista x64:
{{{
--- umathmodule.c.orig 2008-09-10 00:13:09.000000000 +0200
+++ umathmodule.c 2008-09-10 00:30:10.000000000 +0200
@@ -73,12 +73,14 @@
#endif
#ifndef HAVE_FREXPF
+#undef frexpf
static float frexpf(float x, int * i)
{
return (float)frexp((double)(x), i);
}
#endif
#ifndef HAVE_LDEXPF
+#undef ldexpf
static float ldexpf(float x, int i)
{
return (float)ldexp((double)(x), i);
}}}
So I suspect HAVE_FREXPF and HAVE_LDEXPF are not being defined when in
fact they should be.
Can't do the build with numscons yet, because of this bug:
https://bugs.launchpad.net/numpy.scons.support/+bug/268343
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/898#comment:5>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list