<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>
<p>Dear Dune Team, <br>
</p>
<p>after some painful experiences with the dune compilation process I finally managed to compile dune from source on my debian machine and run an empty test module as suggested by the getting-started docs. This encouraged me to delve into the howtos, but I
find it impossible to get the most recent version of dune-fem-howto to compile on my Debian machine.</p>
<p>I am on the most recent available branch releases/2.7 which seems to lag behind the official dune release a bit. I tried to compile the module by calling</p>
<p>/dune-common/bin/dune-control --module=dune-fem-howto all</p>
<p>but I get the following CMake errors:</p>
<p><br>
</p>
<p><span style="font-family:monospace"><span style="color:#b21818;background-color:#ffffff;">CMake Error at example-odesolver/source/CMakeLists.txt:4 (target_link_libraries):</span><span style="color:#000000;background-color:#ffffff;">
</span><br>
<span style="color:#b21818;background-color:#ffffff;"> The keyword signature for target_link_libraries has already been used with </span><span style="color:#000000;background-color:#ffffff;"> </span><br>
<span style="color:#b21818;background-color:#ffffff;"> the target "example-odesolver". All uses of target_link_libraries with a </span><span style="color:#000000;background-color:#ffffff;"> </span><br>
<span style="color:#b21818;background-color:#ffffff;"> target must be either all-keyword or all-plain. </span><span style="color:#000000;background-color:#ffffff;"> </span><br>
<span style="color:#b21818;background-color:#ffffff;"> </span><span style="color:#000000;background-color:#ffffff;"> </span><br>
<span style="color:#b21818;background-color:#ffffff;"> The uses of the keyword signature are here: </span><span style="color:#000000;background-color:#ffffff;"> </span><br>
<span style="color:#b21818;background-color:#ffffff;"> </span><span style="color:#000000;background-color:#ffffff;"> </span><br>
<span style="color:#b21818;background-color:#ffffff;"> * /home/benjamin/Software/dune/dune-common/cmake/modules/AddMPIFlags.cmake:35 (target_link_libraries)</span><br>
</span></p>
<p><span style="font-family:monospace"><br>
</span></p>
<div class="moz-signature">I tried to fix it by adding the PRIVATE attribute in the corresponding CMakeLists file (<i>without even knowing what Im doing</i>) and it continues the build only to fail with a bunch of errors that look like it can't find the proper
dune headers from other modules. <br>
</div>
<div class="moz-signature">I also tried running the install script in dune-fem-howto/scripts but that seems to get confused with the most recent dune update, for example dune-alugrid doesn't compile when I set the install script version to 2.7 (corresponding
to the latest fem-howto version).</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">All other dune modules are freshly cloned from git. Can you reproduce the error with a fresh dune download and maybe point me to a solution? Any help is appreciated.</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Best,<br>
</div>
<div class="moz-signature">-- <br>
<b>Benjamin Terschanski</b> <br>
PhD Student <br>
<br>
<div style="font-size:0.7em;""><i>MBD - Model-based Development in Computational Engineering</i>
<br>
RWTH Aachen University <br>
Schinkelstr. 2a, Room 203 <br>
52062 Aachen </div>
</div>
</div>
<br>
<p></p>
</div>
</body>
</html>