[Dune] small problem in dune-grid-howto, visualization.cc

Martin Nolte nolte at mathematik.uni-freiburg.de
Tue Mar 10 09:35:41 CET 2009


Hallo Benedikt,

It sure compiles for me (revison 245; the other core modules are also up to date).

So I will have to ask you to provide more data. Can you tell me your configure 
options (i.e., the file you passed with --opts to dunecontrol)? The compiler 
version might also be of interest (though I don't think this is the problem).

Yours,

Martin

Benedikt Oswald wrote:
> Dear Dune, thanks for updating the dune-grid-howto, in the release 1.2.
> 
> There seems to be another problem, concerning visualization.cc
> 
> Thanks and greetings, Benedikt
> 
> 
> visualization.cc: In function ‘int main(int, char**)’:
> visualization.cc:62: error: ‘dimGrid’ was not declared in this scope
> visualization.cc:62: error: ‘dimGrid’ cannot appear in a constant-expression
> visualization.cc:62: error: template argument 1 is invalid
> visualization.cc:62: error: template argument 2 is invalid
> visualization.cc:62: error: template argument 1 is invalid
> visualization.cc:62: error: invalid type in declaration before ‘;’ token
> visualization.cc:63: error: request for member ‘grid’ in ‘uc4’, which is of non-class type ‘int’
> visualization.cc:66: error: ‘dimGrid’ cannot appear in a constant-expression
> visualization.cc:66: error: ‘dimGrid’ cannot appear in a constant-expression
> visualization.cc:66: error: template argument 1 is invalid
> visualization.cc:66: error: template argument 2 is invalid
> visualization.cc:66: error: template argument 1 is invalid
> visualization.cc:66: error: invalid type in declaration before ‘;’ token
> visualization.cc:67: error: request for member ‘grid’ in ‘uc5’, which is of non-class type ‘int’
> make[2]: *** [visualization-visualization.o] Error 1
> make[2]: Leaving directory `/scratch2/amas/oswald/svnwork/merlin/dune-1.2/dune-grid-howto'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/scratch2/amas/oswald/svnwork/merlin/dune-1.2/dune-grid-howto'
> make: *** [all] Error 2
> --- Failed to build dune-grid-howto ---
> Execution of dunecontrol terminated due to errors!
> 
> 
> 

-- 
Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5642
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the Dune mailing list