← Back to team overview

dolfin team mailing list archive

Re: Problems compiling pydolfin 0.7.0-1

 

Quoting Martin Sandve Alnæs <martinal@xxxxxxxxx>:

> 2007/6/26, Ola Skavhaug <skavhaug@xxxxxxxxx>:
> > > I compiled first with swig 1.3.29, then installed 1.3.31 and ran "make
> > > clean && configure && make" in dolfin, could that be the problem?
> >
> > You'll need to touch dolfin.i in src/pydolfin.
> 
> It worked.
> 
> If it's not too much trouble, it would be more intuitive if that was
> done automatically on a "make clean". And configure should preferably
> pick up the wrong swig version (1.3.29) which didn't work.

I'm using SWIG 1.3.28 and it works 'fine'.
If I do

touch src/pydolfin/dolfin.i

and then

make

I get the following errors

 Can't wrap 'dolfin::operator <<' unless renamed to a valid identifier.
./../src/kernel/la/dolfin/PETScMatrix.h:134: Warning(503): Can't wrap
'dolfin::operator <<' unless renamed to a valid identifier.

etc.

Then I just do

make

again and then it works.

Kristian
> martin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
> 




Follow ups

References