dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03667
Re: issues (?) with 0.6.3
Quoting Dag Lindbo <dag@xxxxxxxx>:
> Hi all,
>
> Since updating to 0.6.3 I've run into
>
> 1) The install scripts do not seem to set PKG_CONFIG_PATH. I had to do
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ after installing dolfin.
>
Configure now produces a file dolfin.conf. You just need to do
source dolfin.conf
This sets more that just PKG_CONFIG_PATH, so it may help with the below problems.
> 2) Link problems in my solvers. In 0.6.2x the linking was fine. But now I
> get link errors like
> ClassX.cpp: multiple definition of
> 'dolfin::formX::BilinearForm::interior_contribution() const'
> (...)
>
> I have form-headers that get included all over the place, i.e.
> "Class1.hpp" includes "formX.h"
> "Class2.hpp" includes "formX.h"
> "Class3.hpp" includes "formX.h"
> and
> "main.cpp" includes Class1.hpp, Class2.hpp ...
>
> Why has this become a problem since 0.6.2? I guess the error is on my
> side, though...
>
Could be because of the problem outlined above. Have you recompiled all your
forms with FFC?
Garth
> Thanks a lot!
> Dag Lindbo
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
Follow ups
References