Thread Previous • Date Previous • Date Next • Thread Next |
On 05/16/2012 10:02 AM, Johannes Ring wrote:
On Wed, May 16, 2012 at 9:47 AM, Johan Hake<hake.dev@xxxxxxxxx> wrote:Very strange. The error message indicates that PyInt_AS_LONG is not defined, and that macro should be there. What Python version is it using?Python 2.7.
Ok.
Try changing the macro in the typemap to PyInt_AsLong instead.You mean to replace PyInt_AS_LONG with PyInt_As_Long in both UFC and DOLFIN?
Well, yes, but is really silly. It looks like there are some other things that does not work. Is Python.h really found?
Johan
Thread Previous • Date Previous • Date Next • Thread Next |