dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #01070
Re: PyDOLFIN
With version 1.3.24 of SWIG, I can compile without fatal errors. Running
test.sh, I'm getting a similar error to what Anders has been seeing,
Traceback (most recent call last):
File "swigtest.py", line 1, in ?
import dolfin
File
"/usr/local/garth/fenics/dolfin/cvs/dolfin/src/demo/scripting/pydolfin/dolfin.py",
line
import _dolfin
ImportError:
/usr/local/garth/fenics/dolfin/cvs/dolfin/src/demo/scripting/pydolfin/_dolfin.so:
ymbol: _ZN6dolfin12EdgeIteratorC1ERKNS_4NodeE
Garth
Quoting "Garth N. Wells" <g.n.wells@xxxxxxxxxxxxxxx>:
> >
> > Hm, one of the ideas behind SWIG is that it should be robust, and just
> > ignore problematic sections instead of giving up. Which version of
> > SWIG are you using?
> >
> > I'm using:
> >
> > $ swig -version
> >
> > SWIG Version 1.3.24
> > Copyright (c) 1995-1998
> > University of Utah and the Regents of the University of California
> > Copyright (c) 1998-2004
> > University of Chicago
> > Compiled with g++ [i686-pc-linux-gnu]
>
> I have a lightly older version. I'll try and grab a newer version.
>
> SWIG Version 1.3.22
> Copyright (c) 1995-1998
> University of Utah and the Regents of the University of California
> Copyright (c) 1998-2004
> University of Chicago
> Compiled with g++ [i686-pc-linux-gnu]
>
> Garth
>
>
> >
> > This is the output I get related to NodeIterator.h :
> >
> > ...
> > ../../../../include/dolfin/Point.h:40: Warning(362): operator= ignored
> > ../../../../include/dolfin/NodeIterator.h:74: Warning(312): Nested class
> not
> > currently supported (ignored).
> > ../../../../include/dolfin/NodeIterator.h:94: Warning(312): Nested class
> not
> > currently supported (ignored)
> > ../../../../include/dolfin/NodeIterator.h:114: Warning(312): Nested class
> not
> > currently supported (ignored)
> > ../../../../include/dolfin/NodeIterator.h:134: Warning(312): Nested class
> not
> > currently supported (ignored)
> > ../../../../include/dolfin/NodeIterator.h:154: Warning(312): Nested class
> not
> > currently supported (ignored)
> > ../../../../include/dolfin/CellIterator.h:77: Warning(312): Nested class
> not
> > currently supported (ignored).
> > ...
> >
> > Johan
> >
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
>
Follow ups
References