Yes, that's the problem. I do not get any output. Thanks a lot.<br><br>But, now I commented out the #if HAVE_ALBERTA" and "#if ALBERTA_DIM==2" lines.<br><br>Made it,  <b>typedef Dune::SGrid<dim,dim> GridType;</b> instead of   typedef Dune::AlbertaGrid<dim,dim> GridType; in line 257. and then tried to make the dune-grid-howto. I get errors saying <b> no matching function for call to ‘Dune::SGrid<3, 3, double>::SGrid(const char*&)’</b> in line 263.<br>

<br>I have also added the <b>#include <dune/grid/sgrid.hh> </b>file. <br><br><br><br><br>