[Dune] New user of dune
Steffen Müthing
steffen.muething at ipvs.uni-stuttgart.de
Mon May 13 23:23:02 CEST 2013
Hi Bilal,
welcome to DUNE and PDELab!
Your problem isn't as bad as it seems - the core modules of DUNE and the PDELab library
are both fine, this error is just in an example program in the PDELab Howto. You get it because
you are missing the external grid library UG - see http://www.dune-project.org/external_libraries/install_ug.html
for installation instructions. That said, you can also just ignore the error and start working with PDELab,
or you can switch to a different grid manager by commenting line 114 in poisson_uniform.cc and uncommenting
one of the two following lines.
Just a quick note: If you have questions about PDELab, please use the PDELab mailing list (dune-pdelab at dune-project.org)
instead.
Best,
Steffen
Am 13.05.2013 um 18:45 schrieb bilal saad:
> Hello,
>
> I'm try to configure dune and Pdelab-1.1.0 but I get this error
>
> poisson_uniform.cc: In function ‘int main(int, char**)’:
> poisson_uniform.cc:114:11: error: ‘UGGrid’ in namespace ‘Dune’ does not name a type
> poisson_uniform.cc:117:40: error: ‘GM’ was not declared in this scope
> poisson_uniform.cc:117:42: error: template argument 1 is invalid
> poisson_uniform.cc:117:48: error: invalid type in declaration before ‘;’ token
> poisson_uniform.cc:118:27: error: expression list treated as compound expression in initializer [-fpermissive]
> poisson_uniform.cc:118:27: warning: left operand of comma operator has no effect [-Wunused-value]
> poisson_uniform.cc:119:7: error: base operand of ‘->’ is not a pointer
> poisson_uniform.cc:122:34: error: the value of ‘GM’ is not usable in a constant expression
> poisson_uniform.cc:117:40: note: ‘GM’ was not declared ‘constexpr’
> poisson_uniform.cc:122:61: error: wrong number of template arguments (1, should be 2)
> poisson_uniform.cc:22:7: error: provided for ‘template<class GV, class RF> class GenericEllipticProblem’
> poisson_uniform.cc:122:70: error: invalid type in declaration before ‘;’ token
>
>
> Thanks if some ine can help me to fix it?
> Thanks
> Bilal
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
Steffen Müthing
Universität Stuttgart
Institut für Parallele und Verteilte Systeme
Universitätsstr. 38
70569 Stuttgart
Tel: +49 711 685 88429
Fax: +49 711 685 88340
Email: steffen.muething at ipvs.uni-stuttgart.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20130513/e8d68165/attachment.sig>
More information about the Dune
mailing list