<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thank you Oliver!<div class="">Your suggestion worked ;) I’m ready to test and learn this library!</div><div class=""><br class=""></div><div class="">By the way, I’m on Yosemite OS X (v. 10.10.5), g++ 4.9, cmake 3.5.2</div><div class=""><br class=""></div><div class="">Francesco</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Il giorno 26/mag/2016, alle ore 15:25, Oliver Sander <<a href="mailto:oliver.sander@tu-dresden.de" class="">oliver.sander@tu-dresden.de</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hi Francesco,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">welcome to Dune. I am afraid that I won't be able to help you, because I don't have Apple</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">hardware available. Whoever will help you will certainly want to know what operating system</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">you are using exactly, and what your compiler vendor and version is.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">That being said, there may be a way to hack your way around this problem until somebody fixes</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">it. Open the file dune-functions/examples/CMakeLists.txt, and remove the last two lines.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">That stops the offending stokes-taylorhood example from being built, but does not do any</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">other harm.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Enjoy,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Oliver</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On 26.05.2016 12:07, Francesco Magaletti wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Hi guys,<span class="Apple-converted-space"> </span><br class="">I’m an absolute beginner with the dune library. I’m trying to install on my mac, following the instructions on the website and on the pdf recently uploaded by Oliver Sander (“Getting started with DUNE"). I had no problem installing the basic modules (common, grid, islt, geometry, localfunctions, alugrid, fem), but in the first example on the pdf by Oliver Sander it calls some features of the dune-functions module and I’m now facing some problem with that. I downloaded the 2.4 compatible release from <a href="https://gitlab.dune-project.org/staging/dune-functions/tree/releases/2.4-compatible" class="">https://gitlab.dune-project.org/staging/dune-functions/tree/releases/2.4-compatible</a> and the dune-typetree module and I run, as usual, ./dune-common/bin/dunecontrol all. During compiling it stops with an error:<br class=""><br class="">-- Build files have been written to: /Applications/DUNE/dune-functions/build-cmake<br class="">--- calling make for dune-functions ---<br class="">build directory: build-cmake<br class="">cmake --build . --<span class="Apple-converted-space"> </span><br class="">[ 33%] Built target poisson-pq2<br class="">[ 50%] Building CXX object examples/CMakeFiles/stokes-taylorhood.dir/stokes-taylorhood.cc.o<br class="">In file included from /Applications/DUNE/dune-functions/examples/<a href="http://stokes-taylorhood.cc/" class="">stokes-taylorhood.cc</a><span class="Apple-converted-space"> </span><<a href="http://stokes-taylorhood.cc/" class="">http://stokes-taylorhood.cc</a>>:5:<br class="">In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:265:<br class="">In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__bit_reference:15:<br class="">In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:627:<br class="">In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:157:<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:187:5: error:<span class="Apple-converted-space"> </span><br class=""> static_assert failed "tuple_element index out of range"<br class=""> static_assert(_Ip != 0, "tuple_element index out of range");<br class=""> ^ ~~~~~~~~<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:154:22: note:<span class="Apple-converted-space"> </span><br class=""> in instantiation of template class 'std::__1::tuple_element<0,<br class=""> std::__1::__tuple_types<> >' requested here<br class=""> typedef typename tuple_element<_Ip, __tuple_types<_Tp...> >::type type;<br class=""> ^<br class="">/Applications/DUNE/dune-functions/dune/common/typeutilities.hh:31:43: note: in<br class=""> instantiation of template class 'std::__1::tuple_element<0,<br class=""> std::__1::tuple<> >' requested here<br class=""> (not(std::is_same<This, typename std::tuple_element<0, std::tuple<ty...<br class=""> ^<br class="">/Applications/DUNE/dune-functions/dune/functions/functionspacebases/powerbasis.hh:92:50: note:<span class="Apple-converted-space"> </span><br class=""> in instantiation of template type alias 'disableCopyMove' requested here<br class=""> disableCopyMove<PowerNodeFactory, SFArgs...> = 0,<br class=""> ^<br class="">/Applications/DUNE/dune-functions/dune/functions/functionspacebases/powerbasis.hh:94:3: note:<span class="Apple-converted-space"> </span><br class=""> while substituting prior template arguments into non-type template<br class=""> parameter [with SFArgs = <>]<br class=""> PowerNodeFactory(SFArgs&&... sfArgs) :<br class=""> ^~~~~~~~~~~~~~~~<br class="">/Applications/DUNE/dune-functions/dune/functions/functionspacebases/powerbasis.hh:50:7: note:<span class="Apple-converted-space"> </span><br class=""> while substituting deduced template arguments into function template<br class=""> 'PowerNodeFactory' [with SFArgs = <>, $1 = (no value), $2 = (no value)]<br class="">class PowerNodeFactory<br class=""> ^<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:2652:14: note:<span class="Apple-converted-space"> </span><br class=""> (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see<br class=""> all)<br class=""> : public is_constructible<_Tp><br class=""> ^<br class="">/Applications/DUNE/dune-functions/dune/functions/functionspacebases/compositebasis.hh:113:57: note:<span class="Apple-converted-space"> </span><br class=""> in instantiation of template type alias 'enableIfConstructible' requested<br class=""> here<br class=""> enableIfConstructible<std::tuple<SF...>, SFArgs...> = 0><br class=""> ^<br class="">/Applications/DUNE/dune-functions/dune/functions/functionspacebases/compositebasis.hh:114:3: note:<span class="Apple-converted-space"> </span><br class=""> while substituting prior template arguments into non-type template<br class=""> parameter [with SFArgs =<br class=""> <Dune::Functions::PowerNodeFactory<Dune::ReservedVector<unsigned long, 2>,<br class=""> Dune::Functions::BasisTags::InterleafedIndex,<br class=""> Dune::Functions::PQkNodeFactory<Dune::GridView<Dune::DefaultLeafGridViewTraits<const<br class=""> Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >,<br class=""> Dune::PartitionIteratorType::All_Partition> >, 2,<br class=""> Dune::ReservedVector<unsigned long, 2>, unsigned long>, 2>,<br class=""> Dune::Functions::PQkNodeFactory<Dune::GridView<Dune::DefaultLeafGridViewTraits<const<br class=""> Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >,<br class=""> Dune::PartitionIteratorType::All_Partition> >, 1,<br class=""> Dune::ReservedVector<unsigned long, 2>, unsigned long>>, $1 = 0]<br class=""> CompositeNodeFactory(SFArgs&&... sfArgs) :<br class=""> ^~~~~~~~~~~~~~~~~~~~<br class="">/Applications/DUNE/dune-functions/dune/functions/functionspacebases/compositebasis.hh:402:12: note:<span class="Apple-converted-space"> </span><br class=""> while substituting deduced template arguments into function template<br class=""> 'CompositeNodeFactory' [with SFArgs =<br class=""> <Dune::Functions::PowerNodeFactory<Dune::ReservedVector<unsigned long, 2>,<br class=""> Dune::Functions::BasisTags::InterleafedIndex,<br class=""> Dune::Functions::PQkNodeFactory<Dune::GridView<Dune::DefaultLeafGridViewTraits<const<br class=""> Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >,<br class=""> Dune::PartitionIteratorType::All_Partition> >, 2,<br class=""> Dune::ReservedVector<unsigned long, 2>, unsigned long>, 2>,<br class=""> Dune::Functions::PQkNodeFactory<Dune::GridView<Dune::DefaultLeafGridViewTraits<const<br class=""> Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >,<br class=""> Dune::PartitionIteratorType::All_Partition> >, 1,<br class=""> Dune::ReservedVector<unsigned long, 2>, unsigned long>>, $1 = (no value),<br class=""> $2 = (no value)]<br class=""> return {SubFactoryTags().template build<MultiIndex, GridView, size_t...<br class=""> ^<br class="">/Applications/DUNE/dune-functions/dune/functions/functionspacebases/defaultglobalbasis.hh:122:31: note:<span class="Apple-converted-space"> </span><br class=""> in instantiation of function template specialization<br class=""> 'Dune::Functions::BasisBuilder::Imp::CompositeNodeFactoryBuilder<Dune::Functions::BasisTags::BlockedIndex,<br class=""> Dune::Functions::BasisBuilder::Imp::PowerNodeFactoryBuilder<2,<br class=""> Dune::Functions::BasisTags::InterleafedIndex,<br class=""> Dune::Functions::BasisBuilder::Imp::PQkNodeFactoryBuilder<2> >,<br class=""> Dune::Functions::BasisBuilder::Imp::PQkNodeFactoryBuilder<1><br class=""><blockquote type="cite" class="">::build<Dune::ReservedVector<unsigned long, 2>,<br class=""></blockquote> Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2,<br class=""> Dune::EquidistantCoordinates<double, 2> >,<br class=""> Dune::PartitionIteratorType::All_Partition> >, unsigned long>' requested<br class=""> here<br class=""> return {factoryTag.template build<MultiIndex>(gridView)};<br class=""> ^<br class="">/Applications/DUNE/dune-functions/examples/<a href="http://stokes-taylorhood.cc/" class="">stokes-taylorhood.cc</a><span class="Apple-converted-space"> </span><<a href="http://stokes-taylorhood.cc/" class="">http://stokes-taylorhood.cc</a>>:282:26: note:<span class="Apple-converted-space"> </span><br class=""> in instantiation of function template specialization<br class=""> 'Dune::Functions::BasisBuilder::makeBasis<Dune::GridView<Dune::DefaultLeafGridViewTraits<const<br class=""> Dune::YaspGrid<2, Dune::EquidistantCoordinates<double, 2> >,<br class=""> Dune::PartitionIteratorType::All_Partition> >,<br class=""> Dune::Functions::BasisBuilder::Imp::CompositeNodeFactoryBuilder<Dune::Functions::BasisTags::BlockedIndex,<br class=""> Dune::Functions::BasisBuilder::Imp::PowerNodeFactoryBuilder<2,<br class=""> Dune::Functions::BasisTags::InterleafedIndex,<br class=""> Dune::Functions::BasisBuilder::Imp::PQkNodeFactoryBuilder<2> >,<br class=""> Dune::Functions::BasisBuilder::Imp::PQkNodeFactoryBuilder<1> >, unsigned<br class=""> long>' requested here<br class=""> auto taylorHoodBasis = makeBasis(<br class=""> ^<br class="">1 error generated.<br class="">make[2]: *** [examples/CMakeFiles/stokes-taylorhood.dir/stokes-taylorhood.cc.o] Error 1<br class="">make[1]: *** [examples/CMakeFiles/stokes-taylorhood.dir/all] Error 2<br class="">make: *** [all] Error 2<br class="">--- Failed to build dune-functions ---<br class="">Terminating dunecontrol due to previous errors!<br class=""><br class=""><br class="">Someone can help here?<br class=""><br class="">Thank you in advance,<br class="">Francesco<br class=""><br class="">___________________________________________<br class="">INVESTI SUL FUTURO, FAI CRESCERE L’UNIVERSITÀ:<br class=""><br class="">*DONA IL 5 PER MILLE ALLA SAPIENZA*<br class=""><br class="">CODICE FISCALE *80209930587*<br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">Dune mailing list<br class=""><a href="mailto:Dune@dune-project.org" class="">Dune@dune-project.org</a><br class=""><a href="http://lists.dune-project.org/mailman/listinfo/dune" class="">http://lists.dune-project.org/mailman/listinfo/dune</a></blockquote></div></blockquote></div><br class=""></div></body></html>
<br>
<div style="font-size:small;font-family:arial;background-color:rgb(255,255,255)">______________________________<wbr>_____________</div><div style="font-size:small;font-family:arial;background-color:rgb(255,255,255)"><span style="font-size:x-small;font-family:Arial,sans-serif;line-height:14pt">INVESTI SUL FUTURO, FAI CRESCERE L’UNIVERSITÀ:</span></div><div style="color:rgb(34,34,34);font-family:arial;background-color:rgb(255,255,255)"><p style="font-size:13px;line-height:14pt"><span style="font-family:Arial,sans-serif"><font size="1" color="#660000"><b>DONA IL 5 PER MILLE ALLA SAPIENZA</b></font></span></p><p style="color:rgb(0,0,0);line-height:14pt"><span style="font-family:Arial,sans-serif"><font size="2">CODICE FISCALE</font><font size="4"> </font><b style="font-size:large">80209930587</b></span></p></div>