[Dune] small problem in dune-grid-howto, visualization.cc
Benedikt Oswald
benedikt.oswald at psi.ch
Tue Mar 10 09:12:09 CET 2009
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!
--
------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist,
Paul Scherrer Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12
"The budget should be balanced, the Treasury should be refilled, public debt should be reduced,
the arrogance of officialdom should be tempered and controlled, and the assistance to foreign
lands should be curtailed lest Rome become bankrupt. People must again learn to work, instead
of living on public assistance." (Cicero, ca. 55 BC).
http://amas.web.psi.ch/people/boswald/index.html
------------------------------------------------------------------------------------------------------------------
More information about the Dune
mailing list