← Back to team overview

dolfin team mailing list archive

Re: SWIG and Python 2.5

 


On Apr 26, 2007, at 1:57 PM, Anders Logg wrote:

Does anyone have a good solution to building SWIG Python wrappers for
Python 2.5?

When building PyDOLFIN, one gets the following error:

dolfin_wrap.cpp: In function 'int SWIG_Python_ConvertFunctionPtr (PyObject*, void**, swig_type_info*)': dolfin_wrap.cpp:2052: error: invalid conversion from 'const char*' to 'char*'


FWIW, PyTrilinos and python2.5 have exactly the same issue. Haven't found a solution yet, though.

--
[simula.research laboratory]
                 Åsmund Ødegård
                 IT-Manager
                 phone: +4767828291 /+4790069915
                 http://www.simula.no/




References