[dune-fem] Error compiling DUNE-FEM module with DUNE 2.3.0
Rene Milk
rene.milk at wwu.de
Wed Feb 19 13:58:47 CET 2014
On 17.02.2014 14:10, Agnese, Marco wrote:
> 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
>
>
>
>
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
>
Hi,
but I can expect the current git master to already work with 2.3 core
modules?
Cheers,
Rene
--
--------------------------------------------------
Dipl.-Math. Rene Milk
University of Münster
Institute for Applied Mathematics
Orleans-Ring 10, R. 120.012
48149 Münster Tel. +49 251 83-35131
Germany
--------------------------------------------------
More information about the dune-fem
mailing list