I've got Python 20 and numerical python installed and running, i.e., I can run python scripts and call import module Numerical and use arrays,etc.
I've also been successful at calling python scripts from C/C++ code (MSVC++ 6.0) - Py_Initialize(), Py_BuildValue() etc. and building the de-bug version of python20.dll (python20_d.dll) so I can debug-step through the code.
However, I can't seem to be able to call numpy functions from C/C++ - PyArray_FromDims(), etc. My code will compile and link but, at runtime, I get an exception error.
It seems that either I need to create a numpy.dll that will live in winnt/system32 or somehow need to modify python20.dll to include the numpy functions.
How do I do that?
A colleague recently asked me to look up something called "ROOT". I complained "I can't e-search for 'root'! I'd get a million false hits!"
It's a high-end version of programs like GnuPlot or OpenDx; it's written for physicists at CERN, and it can handle terabyte databases.
The bad news it bonds to a questionable "C++ Interpreter" for its scripting end. We all know that interpreting a language designed to be compiled represents the worst of both worlds.
Has anyone plugged their NumericPython into ROOT? How hard could that be?