<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear Sir,<div><br></div><div>I am using a virtual box with OS Ubuntu 18.04. I have installed dune via the provided debian packages (<a href="https://packages.debian.org/search?keywords=libdune+dev&searchon=names&suite=all&section=all">https://packages.debian.org/search?keywords=libdune+dev&searchon=names&suite=all&section=all</a>). And I was able to follow the introduction of Oliver Sander. </div><div>Then I have clone the git repository for the pdelab tutorials (<a href="http://gitlab.dune-project.org/pdelab/dune-pdelab-tutorials">http://gitlab.dune-project.org/pdelab/dune-pdelab-tutorials</a>) and inside the directory I have run the command dunecontrol all. Eventually, I have get a problem that says:</div><div><br></div><div><div><i>-- Configuring done</i></div><div><i>CMake Error at gridinterface/exercise/task/CMakeLists.txt:1 (add_executable):</i></div><div><i>  Cannot find source file:</i></div><div><i><br></i></div><div><i>    grid-exercise1.cc</i></div><div><i><br></i></div><div><i>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp</i></div><div><i>  .hxx .in .txx</i></div><div><i><br></i></div><div><i><br></i></div><div><i>CMake Error: CMake can not determine linker language for target: grid-exercise1</i></div><div><i>CMake Error: Cannot determine link language for target "grid-exercise1".</i></div><div><i>-- Generating done</i></div><div><i>-- Build files have been written to: /home/daniel/dune-try/Tuto/dune-pdelab-tutorials/build-cmake</i></div><div><i>--- Failed to build dune-pdelab-tutorials ---</i></div><div><i>Terminating dunecontrol due to previous errors!</i></div></div><div><br></div><div>I have moved the <i>grid-exercise1.cc </i>file in from the  gridinterface/exercise/solution/ directory to  gridinterface/exercise/task/ but then I got the problem:</div><div><br></div><div><div><i>-- Configuring done</i></div><div><i>CMake Error at gridinterface/exercise/solution/CMakeLists.txt:1 (add_executable):</i></div><div><i>  Cannot find source file:</i></div><div><i><br></i></div><div><i>    grid-exercise1.cc</i></div><div><i><br></i></div><div><i>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp</i></div><div><i>  .hxx .in .txx</i></div><div><i><br></i></div><div><i><br></i></div><div><i>CMake Error: CMake can not determine linker language for target: solution-grid1</i></div><div><i>CMake Error: Cannot determine link language for target "solution-grid1".</i></div><div><i>-- Generating done</i></div><div><i>-- Build files have been written to: /home/daniel/dune-try/Tuto/dune-pdelab-tutorials/build-cmake</i></div><div><i>--- Failed to build dune-pdelab-tutorials ---</i></div><div><i>Terminating dunecontrol due to previous errors!</i></div></div><div><br></div><div><br></div><div>So, I have end up copying the <i>grid-exercise1.cc </i>of the solution directory to the task directory and I have run dunecontrol all. The output of the terminal now looks like:</div><div><br></div><div><div><i>[ 19%] Building CXX object gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/grid-exercise2.cc.o</i></div><div><i>/home/daniel/dune-try/Tuto/dune-pdelab-tutorials/gridinterface/exercise/task/grid-exercise2.cc:7:10: fatal error: dune/common/filledarray.hh: No such file or directory</i></div><div><i> #include <dune/common/filledarray.hh></i></div><div><i>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~</i></div><div><i>compilation terminated.</i></div><div><i>gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/build.make:62: recipe for target 'gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/grid-exercise2.cc.o' failed</i></div><div><i>make[2]: *** [gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/grid-exercise2.cc.o] Error 1</i></div><div><i>CMakeFiles/Makefile2:2147: recipe for target 'gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/all' failed</i></div><div><i>make[1]: *** [gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/all] Error 2</i></div><div><i>Makefile:162: recipe for target 'all' failed</i></div><div><i>make: *** [all] Error 2</i></div><div><i>--- Failed to build dune-pdelab-tutorials ---</i></div><div><i>Terminating dunecontrol due to previous errors!</i></div></div><div><br></div><div><br></div><div>Every time I do a project I got the following message: </div><div><br></div><div><div><i>WARNING: could not find module dune-alugrid,</i></div><div><i>       module is also unknown to pkg-config.</i></div><div><i>       Maybe you need to adjust PKG_CONFIG_PATH!</i></div><div><i>       dune-alugrid is suggested by dune-pdelab</i></div><div><i>Skipping dune-alugrid!</i></div></div><div><br></div><div>Which I do not know if it is related to my problem of installing the pdelab tutorials (I do not think so). </div><div>When I follow the instructions given in <a href="https://www.dune-project.org/doc/beginners-resources-pdelab/">https://www.dune-project.org/doc/beginners-resources-pdelab/</a>  for installing the dune-pdelab and dune-pdelab tutorials, my terminal ends up oupting the same results. (I use the 2.6.1 instead of   <span style="color:rgb(51,51,51);font-family:fixed-width,monospace;white-space:pre-wrap;background-color:rgb(248,248,248)">./dune-installer/pdelab-</span><span class="gmail-hljs-number" style="box-sizing:border-box;color:rgb(0,128,128);font-family:fixed-width,monospace;white-space:pre-wrap">2.4</span><span class="gmail-hljs-meta" style="box-sizing:border-box;color:rgb(153,153,153);font-weight:bold;font-family:fixed-width,monospace;white-space:pre-wrap">.1</span><span style="color:rgb(51,51,51);font-family:fixed-width,monospace;white-space:pre-wrap;background-color:rgb(248,248,248)">/installer.sh</span>). </div><div><br></div><div>Do you have an idea of what can be my problem? Do you know if I can install the tutorials using other approach?</div><div><br></div><div><br></div><div>Thank you again</div><div><br></div><div>Best regards,</div><div>Daniel Jara </div></div></div></div></div></div></div></div></div></div></div>