[C++-sig] numarray and boost.python
by Paul F. Kunz other posts by this author
Aug 3 2003 12:49AM messages near this date
Re: [C++-sig] Re: Boost.Python unnamed enums at global scope
|
Re: [C++-sig] numarray and boost.python
I'm trying to make an interface between numarray and C++ with
Boost. After reading the mail archives on this subject, I downloaded
num_util from
http://www.eos.ubc.ca/research/clouds/num_util.html
Although the software is date 3 July 2003, I found I had to make two
changes for it to compile...
Index: python/num_util.cpp
===================================================================
RCS file: /afs/slac/g/ek/reason_cvs/hippodraw/python/num_util.cpp,v
retrieving revision 1.1
diff -r1.1 num_util.cpp
23c23
< KindStringMapEntry(PyArray_NTYPES, "PyArray_NTYPES"),
---
> // KindStringMapEntry(PyArray_NTYPES, "PyArray_NTYPES"),
Index: python/num_util.h
===================================================================
RCS file: /afs/slac/g/ek/reason_cvs/hippodraw/python/num_util.h,v
retrieving revision 1.2
diff -r1.2 num_util.h
5c5,6
< #include <Numeric/arrayobject.h>
---
> /* #include <Numeric/arrayobject.h> */
> #include <numarray/arrayobject.h>
Could someone confirm that I'm on the right track or doing the wrong
thing?
_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Paul F. Kunz
Philip Austin
|