dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #25641
Re: Problems with DOLFIN and SWIG 2.0.5 on Debian ia64 platform
On Wed, May 16, 2012 at 10:02 AM, Johannes Ring <johannr@xxxxxxxxx> 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.
>
>> 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?
Sorry, I meant PyInt_AsLong (not PyInt_As_Long).
Johannes
References