[dune-fem] Error compiling DUNE-FEM module with DUNE 2.3.0

Agnese, Marco m.agnese13 at imperial.ac.uk
Mon Feb 17 14:10:11 CET 2014


Thank you form the quick answer! I wait the new release!
Regards,
Marco.

Il 17/feb/2014 12:59 Tobias Malkmus <tomalk at mathematik.uni-freiburg.de> ha scritto:
Hi Marco

At the moment the release version of Dune-Fem (1.3) is INCOMPATIBLE with
the new core release 2.3.
We are preparing a new release (1.4). It might take some further time
until it is finished.

If you want to use Fem in version 1.3, please use the old core release
(2.2.1).


Best Tobias


On 02/17/2014 12:44 PM, Agnese, Marco wrote:
> Hello DUNE-FEM users,
> when I try to compile DUNE-FEM with the new DUNE 2.3.0 I obtain the following error:
>
> In file included from ../../../dune/fem/io/file/persistencemanager.hh:41:0,
>                   from ../../../dune/fem/solver/timeprovider.hh:43,
>                   from ../../../dune/fem/misc/femtimer.hh:44,
>                   from femtimer.cc:33:
> ../../../dune/fem/io/file/iointerface.hh: In static member function 'static std::string Dune::Fem::IOInterface::createPath(const CommunicatorType&, const string&, const string&, int, bool)':
> ../../../dune/fem/io/file/iointerface.hh:336:54: error: there are no arguments to 'genFilename' that depend on a template parameter, so a declaration of 'genFilename' must be available [-fpermissive]
>         std::string path = genFilename("",filename,step);
>                                                        ^
> ../../../dune/fem/io/file/iointerface.hh:336:54: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
> ../../../dune/fem/io/file/iointerface.hh: In static member function 'static std::string Dune::Fem::IOInterface::createRecoverPath(const string&, int, const string&, int, bool)':
> ../../../dune/fem/io/file/iointerface.hh:369:54: error: 'genFilename' was not declared in this scope
>         std::string path = genFilename("",filename,step);
>                                                        ^
> In file included from ../../../dune/fem/solver/timeprovider.hh:43:0,
>                   from ../../../dune/fem/misc/femtimer.hh:44,
>                   from femtimer.cc:33:
> ../../../dune/fem/io/file/persistencemanager.hh: In member function 'std::string Dune::PersistenceManager::getUniqueFileName(const string&)':
> ../../../dune/fem/io/file/persistencemanager.hh:327:54: error: 'genFilename' was not declared in this scope
>         return genFilename( path_, tag, ++fileCounter_ );
>                                                        ^
> ../../../dune/fem/io/file/persistencemanager.hh: In member function 'std::string Dune::PersistenceManager::getUniqueTag(const string&)':
> ../../../dune/fem/io/file/persistencemanager.hh:332:51: error: 'genFilename' was not declared in this scope
>         return genFilename( "", tag, ++fileCounter_ );
>
> Is there a patch to fix it? Or the only solution is to compile with -fpermessive?
>
> Thank you very much,
>
> Marco Agnese
>
>
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
>
>


--
Tobias Malkmus                 <tomalk at mathematik.uni-freiburg.de>

Mathematisches Institut               Tel: +49 761 203 5627
Abt. für Angewandte Mathematik        Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-fem/attachments/20140217/133a6f46/attachment.htm>


More information about the dune-fem mailing list