<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: account.facile@hotmail.it<br>To: dune@dune-project.org<br>Subject: Problem with the installation<br>Date: Mon, 7 May 2012 12:00:40 +0200<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
Hi, I contact you for a problem about the implementation of the finite volume tutorial in DUNE-FEM-Howto. After the dunecontrol command (without errors), I try to do the command "make finitevolume" and the terminal shows me:<br><br>___________________________________________________________________________<br>[root@maurofedora finitevolume]# make finitevolume<br>g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../..  -I/home/mauro/Scaricati/dune-common  -I/home/mauro/Scaricati/dune-grid  -I/home/mauro/Scaricati/dune-istl  -I/home/mauro/Scaricati/dune-fem-1.2.1    -I/home/mauro/Scaricati/dune-common -DGRIDDIM=2 -DWORLDDIM=2 -DALUGRID_SIMPLEX  -I/home/mauro/Scaricati/dune-grid  -I/home/mauro/Scaricati/dune-istl -I/home/mauro/Scaricati/dune-fem-1.2.1 -DPROBLEM=1 -I/home/mauro/Scaricati/dune-common -I/home/mauro/Scaricati/dune-grid -I/home/mauro/Scaricati/dune-istl -I/home/mauro/Scaricati/dune-fem-1.2.1  -g -O2 -Wall -MT finitevolume.o -MD -MP -MF .deps/finitevolume.Tpo -c -o finitevolume.o finitevolume.cc<br>In file included from finitevolume.cc:2:0:<br>../../config.h:529:15: error: ‘ALUSimplexGrid’ in namespace ‘Dune’ does not name a type<br>finitevolume.cc: In function ‘int main(int, char**)’:<br>finitevolume.cc:368:13: error: ‘GridType’ in namespace ‘Dune::GridSelector’ does not name a type<br>finitevolume.cc:377:20: error: ‘GridType’ was not declared in this scope<br>finitevolume.cc:377:29: error: template argument 1 is invalid<br>finitevolume.cc:378:7: error: invalid type in declaration before ‘=’ token<br>finitevolume.cc:378:21: error: the value of ‘GridType’ is not usable in a constant expression<br>finitevolume.cc:377:20: note: ‘GridType’ was not declared ‘constexpr’<br>finitevolume.cc:378:56: error: no matching function for call to ‘initialize(const char [21])’<br>finitevolume.cc:378:56: note: candidate is:<br>../../dune/fem-howto/base.hh:29:28: note: template<class HGridType> Dune::GridPtr<HGridType> initialize(const string&)<br>finitevolume.cc:379:15: error: ‘grid’ was not declared in this scope<br>finitevolume.cc:379:23: error: invalid type argument of unary ‘*’ (have ‘int’)<br>finitevolume.cc:383:14: error: the value of ‘GridType’ is not usable in a constant expression<br>finitevolume.cc:377:20: note: ‘GridType’ was not declared ‘constexpr’<br>finitevolume.cc:383:23: error: template argument 1 is invalid<br>finitevolume.cc:383:32: error: invalid type in declaration before ‘(’ token<br>In file included from ../../dune/fem-howto/baseevolution.hh:4:0,<br>                 from finitevolume.cc:17:<br>../../dune/fem-howto/base.hh: In function ‘void compute(Algorithm&) [with Algorithm = int]’:<br>finitevolume.cc:384:20:   instantiated from here<br>../../dune/fem-howto/base.hh:60:52: error: ‘int’ is not a class, struct, or union type<br>../../dune/fem-howto/base.hh:61:42: error: ‘int’ is not a class, struct, or union type<br>../../dune/fem-howto/base.hh:62:37: error: ‘int’ is not a class, struct, or union type<br>../../dune/fem-howto/base.hh:63:54: error: ‘int’ is not a class, struct, or union type<br>../../dune/fem-howto/base.hh:76:48: error: ‘int’ is not a class, struct, or union type<br>../../dune/fem-howto/base.hh:77:52: error: ‘int’ is not a class, struct, or union type<br>../../dune/fem-howto/base.hh:87:5: error: ‘algorithm’ cannot be used as a function<br>../../dune/fem-howto/base.hh:98:5: error: request for member ‘finalize’ in ‘algorithm’, which is of non-class type ‘int’<br>../../dune/fem-howto/base.hh:62:37: error: ‘int’ is not a class, struct, or union type<br>../../dune/fem-howto/base.hh:112:7: error: ‘int’ is not a class, struct, or union type<br>make: *** [finitevolume.o] Errore 1<br><br>___________________________________________________________________________________________________________________________________<br><br>And that's a little strange, because the other tutorials go without any problems. I don't modify any files, so I don't know why this problem arise.<br><br>Could you help me?..thank you very much.<br><br>Mauro Pagani<br><br><br>                                      </div></div>                                        </div></body>
</html>