[Numpy-discussion] Build Numpy Source using Visual Studio 6.0
Wed Sep 17 05:03:53 CDT 2008
I wonder if anyone can advise me or has done similar to the
Basically I've downloaded the Python 2.5.2 source code that builds
with Visual Studio 6.0. I've built Python for windows. This was easy
(it even came with the pcbuild.dsw workspace file). Great!
Now comes the troubled bit...I now look for similar source code for
Python extensions Numpy and Scipy but there appears to be no source
code for vs6.0 and the source that I can find is not all obvious.
Looks like these are normally built using gcc
compilers and some of the code uses variable length arrays that looks
gcc specific syntax? Not sure. However I need to do all my builds in
VS 6.0 as I eventually want to port across from windows os to PharLap
So far I've tried building Numpy (I haven't got as far as Scipy yet)
and I've organised the
source code into the following projects and lumped them all into my
new workspace numpy.dsw:
I'm obviously not sure if this is correct. As you can see from above,
I've re-arranged the source code directory named core into the
Unbelievably I am having some luck and nearly all the projects
and link (untested though).
In addition I created the auto-generated files using the python
scripts. Then I
included the headers where needed.
However the remaining problems are:
umath (wont compile specific files are __ufunc_api.c and
multiarray (wont compile)
dotblas (wont link)
dotblas seems to have missing dependencies on these:
Well that's snapshot of where I am today.
If anyone can offer any advice (negative or positive, I don't mind)
appreciate hearing from you as I'm now at a loss as how to best
Thanks for your help and very happy to have joined this group
More information about the Numpy-discussion