[Dune-devel] After latest pull dune-alugrid does not compile
Aleksejs Fomins
aleksejs.fomins at lspr.ch
Tue Oct 6 18:12:07 CEST 2015
Dear Dune,
After latest pull of dune core and dune-alugrid, I get the following message when compiling alugrid.
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
[ 83%] Building CXX object lib/CMakeFiles/dunealugrid.dir/__/dune/alugrid/2d/intersection.cc.o
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator_imp.cc:6:0,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator.hh:470,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/entity.hh:12,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.hh:14,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:9:
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:160:79: error: wrong number of template arguments (2, should be 1)
typedef Dune::GridView<DefaultLevelGridViewTraits<const GridImp,pitype> >
^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/grid.hh:28:0,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/geometry.hh:6,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:8:
/home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/defaultgridview.hh:23:10: error: provided for ‘template<class GridImp> struct Dune::DefaultLevelGridViewTraits’
struct DefaultLevelGridViewTraits
^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator_imp.cc:6:0,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator.hh:470,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/entity.hh:12,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.hh:14,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:9:
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:160:81: error: template argument 1 is invalid
typedef Dune::GridView<DefaultLevelGridViewTraits<const GridImp,pitype> >
^
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:162:78: error: wrong number of template arguments (2, should be 1)
typedef Dune::GridView<DefaultLeafGridViewTraits<const GridImp,pitype> >
^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/grid.hh:28:0,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/geometry.hh:6,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:8:
/home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/defaultgridview.hh:223:10: error: provided for ‘template<class GridImp> struct Dune::DefaultLeafGridViewTraits’
struct DefaultLeafGridViewTraits {
^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator_imp.cc:6:0,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator.hh:470,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/entity.hh:12,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.hh:14,
from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:9:
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:162:80: error: template argument 1 is invalid
typedef Dune::GridView<DefaultLeafGridViewTraits<const GridImp,pitype> >
^
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
Would somebody have any advice on this?
Greetings,
Aleksejs
More information about the Dune-devel
mailing list