← Back to team overview

dolfin team mailing list archive

Re: Problems with DOLFIN and SWIG 2.0.5 on Debian ia64 platform

 

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


Follow ups

References