[Dune] Problem with installation
Lars Diening
lars at diening.de
Wed Aug 3 17:11:35 CEST 2016
Dear developers,
unfortunately I cannot use Dune anymore. (The last successful run is
weeks ago, so I do not know when the error started to appear).
1) When I download the stable version Dune 2.4.1 I cannot use dune-pdelab,
ERROR: version mismatch.
dune-pdelab requires dune-common >= 3.0,
2) When I use the git version of the following modules
dune-alugrid dune-grid dune-localfunctions dune-typetree
dune-common dune-grid-howto dune-pdelab
dune-geometry dune-istl dune-pdelab-howto
and run "dune-common/bin/dunecontrol all" I also get an error:
-----------------------
Scanning dependencies of target dunecommon
[ 7%] Building CXX object
dune/common/CMakeFiles/dunecommon.dir/debugallocator.cc.o
[ 14%] Building CXX object
dune/common/CMakeFiles/dunecommon.dir/dynmatrixev.cc.o
[ 21%] Building CXX object
dune/common/CMakeFiles/dunecommon.dir/exceptions.cc.o
[ 28%] Building CXX object
dune/common/CMakeFiles/dunecommon.dir/fmatrixev.cc.o
[ 35%] Building CXX object
dune/common/CMakeFiles/dunecommon.dir/ios_state.cc.o
[ 42%] Building CXX object
dune/common/CMakeFiles/dunecommon.dir/parametertree.cc.o
In file included from
/home/diening/dune/dune-common/dune/common/fvector.hh:16:0,
from
/home/diening/dune/dune-common/dune/common/parametertree.hh:26,
from
/home/diening/dune/dune-common/dune/common/parametertree.cc:18:
/home/diening/dune/dune-common/dune/common/typetraits.hh:521:62: error:
‘decay_t’ is not a member of ‘std’
struct IsIntegralConstant : public
Imp::IsIntegralConstant<std::decay_t<T>>
^
/home/diening/dune/dune-common/dune/common/typetraits.hh:521:62: error:
‘decay_t’ is not a member of ‘std’
/home/diening/dune/dune-common/dune/common/typetraits.hh:521:75: error:
template argument 1 is invalid
struct IsIntegralConstant : public
Imp::IsIntegralConstant<std::decay_t<T>>
^
/home/diening/dune/dune-common/dune/common/typetraits.hh:521:76: error:
expected ‘{’ before ‘>’ token
struct IsIntegralConstant : public
Imp::IsIntegralConstant<std::decay_t<T>>
^
/home/diening/dune/dune-common/dune/common/typetraits.hh:521:76: error:
expected unqualified-id before ‘>’ token
make[2]: *** [dune/common/CMakeFiles/dunecommon.dir/parametertree.cc.o]
Error 1
make[1]: *** [dune/common/CMakeFiles/dunecommon.dir/all] Error 2
make: *** [all] Error 2
--- Failed to build dune-common ---
Terminating dunecontrol due to previous errors!
-----------------------------
How can I resolve this problem?
Best wishes,
Lars
More information about the Dune
mailing list