[Dune] problem with installation of pdelab-howto on Mac

Mariya Ptashnyk mptashnyk at maths.dundee.ac.uk
Thu Aug 29 22:05:21 CEST 2013


Dear DUNE-Developers, 

I was trying but unsuccessfully to install pdelab-howto on a Mac computer. 
I was able to install DUNE core modules and pdelab itself,  but during the installation of pdelab-howto I got some erros (see a part of them below).
If you maybe have any idea what is missing, I would be very grateful for your help. 
I  installed  dune core 2.2.1,  pdelab 1.1.0 and have g++ 4.2.1 and gfortran-4.7

Best regards, 

Mariya Ptashnyk
University of Dundee. 

 warning: #warning The FieldVector class exports its size by the enum member 'size'. This behavior is deprecated. In the future, 'size' will be a method, which puts it in compliance with the stl conventions. To enable the new behavior (and get rid of this warning), build your Dune with --enable-fieldvector-size-is-method. If you do need the vector size as an enum, use 'dimension'.
In file included from /Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodeconstraints.hh:12,
                 from poisson.cc:32:
/Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodemanager.hh: In member function ‘void Dune::PDELab::HangingNodeManager<Grid, BoundaryFunction>::adaptToIsolatedHangingNodes()’:
/Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodemanager.hh:406: error: ‘nEdgeCenters’ cannot appear in a constant-expression
/Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodemanager.hh:406: error: a function call cannot appear in a constant-expression
/Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodemanager.hh:406: error: template argument 2 is invalid
/Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodemanager.hh:405: error: template argument 1 is invalid
/Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodemanager.hh:405: error: template argument 2 is invalid
/Users/mptashnyk/dune/dune-pdelab-1.1.0/dune/pdelab/finiteelementmap/hangingnodemanager.hh:427: error: ‘edgecenter’ was not declared in this scope
make[4]: *** [poisson-poisson.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--- Failed to build dune-pdelab-howto ---
Terminating dunecontrol due to previous errors!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20130829/c9739405/attachment.htm>


More information about the Dune mailing list