On 05/16/2012 10:02 AM, Johannes Ring wrote:
On Wed, May 16, 2012 at 9:47 AM, Johan Hake<[email protected]>  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

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to