Some form files in DOLFIN source tree like /home/phoenix/Work/FEniCS/src/dolfin-1.4.0/dolfin/ale/Poisson3D.h are generated by FFC and they may be outdated. Try cleaning DOLFIN working tree or force their regeneration by
$ ./cmake/scripts/generate-form-files If this does not help you may have some mismatch in DOLFIN, FFC, UFC (now part of FFC) versions. Jan On Thu, 04 Dec 2014 15:09:08 +0000 Steffen Wittek <[email protected]> wrote: > Dear community, > > I used the tarball from myles at the AUR, but unfortunately dolfin is > compiled without cgal and hence I wanted to recompile the source > myself. On top viper had some problems and I hope to fix that on top. > > I got dorsal and modified another platform-file to get my own. The > tarball that was finally downloaded was dolfin-1.4.0.tar.gz > <https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-1.4.0.tar.gz>. > The compilation stops however in the file MeshDisplacement.cpp with > some dozens error messages that all read similiar. The last one reads: > > ############################################ > In file included from > /home/phoenix/Work/FEniCS/src/dolfin-1.4.0/dolfin/ale/MeshDisplacement.cpp:25:0: > /home/phoenix/Work/FEniCS/src/dolfin-1.4.0/dolfin/ale/Poisson3D.h: In > constructor 'Poisson3D::Form_a::Form_a(std::shared_ptr<const > dolfin::FunctionSpace>, std::shared_ptr<const > dolfin::FunctionSpace>)': > /home/phoenix/Work/FEniCS/src/dolfin-1.4.0/dolfin/ale/Poisson3D.h:2010:71: > error: invalid new-expression of abstract class type > 'poisson3d_form_0' _ufc_form = std::shared_ptr<const ufc::form>(new > poisson3d_form_0()); ^ > dolfin/CMakeFiles/dolfin.dir/build.make:2676: recipe for target > 'dolfin/CMakeFiles/dolfin.dir/ale/MeshDisplacement.cpp.o' failed > ############################################ > > I thought the pure fact that dorsal is starting with the compilation > means that all other packages that were needed were indeed found and > it is an internal problem in dolfin. > Does anyone have some input on this? If there is any further input > needed just let me know. > > Thank you already, > Steffen > > _______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
