<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello Markus and Christoph,<div><br><div>thanks for the quick reply!</div><div><br></div><div>I fact, I use </div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Monaco;">CMAKE_FLAGS="--enable-experimental-grid-extensions --enable-shared --enable-static -DCMAKE_CXX_FLAGS=\"-O2\" -DBOOST_ROOT=\"$HOME/extlib/boost/1.55.0/gcc/4.8.1\"   -DCMAKE_PREFIX_PATH=\"$HOME/extlib/boost/1.55.0/gcc/4.8.1;$HOME/extlib/alugrid/1.96/openmpi/1.6.5/gcc/4.8.1;$HOME/extlib/metis/5.1.0/gcc/4.8.1;$HOME/extlib/parmetis/4.0.3/openmpi/1.6.5/gcc/4.8.1\" " </div><div style="margin: 0px; font-size: 11px; font-family: Monaco; min-height: 15px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; min-height: 15px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; min-height: 15px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco;">## additional flags</div><div style="margin: 0px; font-size: 11px; font-family: Monaco;">##</div><div style="margin: 0px; font-size: 11px; font-family: Monaco;">MAKE_FLAGS="-Wall"</div><div style="margin: 0px; font-size: 11px; font-family: Monaco;">USE_CMAKE="yes"</div></div><div><br></div><div><br></div><div>when I check with ccmake./ in the build directory of my new application, I see this:</div><div><br></div><div><br></div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(43, 43, 43); background-color: rgb(214, 214, 214); position: static; z-index: auto;"><div style="margin: 0px;"><span style="color: #d6d6d6; background-color: #2b2b2b">BOOST_ROOT                       </span>/Users/oswald/extlib/boost/1.55.0/gcc/4.8.1                                                                                                                                                                                                                                                                       </div><div style="margin: 0px;"><span style="color: #d6d6d6; background-color: #2b2b2b"> BUILD_TESTING                    </span>ON                                                                                                                                                                                                                                                                                                                </div><div style="margin: 0px;"><span style="color: #d6d6d6; background-color: #2b2b2b"> BZRCOMMAND                       </span>BZRCOMMAND-NOTFOUND                                                                                                                                                                                                                                                                                               </div><div style="margin: 0px;"><span style="color: #d6d6d6; background-color: #2b2b2b"> Boost_DIR                        </span>Boost_DIR-NOTFOUND                                                                                                                                                                                                                                                                                                </div><div style="margin: 0px;"><span style="color: #d6d6d6; background-color: #2b2b2b"> Boost_INCLUDE_DIR                </span>/Users/oswald/extlib/boost/1.55.0/gcc/4.8.1/include  </div></div></div><div><br></div><div><br></div><div>when I try to include something like:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);"><span style="color: rgb(147, 26, 104);">#include</span><span style="color: rgb(0, 0, 0);"> </span><boost/date_time/posix_time/posix_time.hpp></div></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);">I assume that it should be visible & found ?</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);">Perhaps I miss a trivial thing.</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);">Greetings, Benedikt</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);"><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);"><span style="text-decoration: underline"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255);"><br></div><div><br></div><div><br></div><div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: 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; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">--------------------------------------------------------------------------------------------------------------------------------------------------------------<br>Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74<br>Technoparkstrasse 1, CH-8005 Zürich, <a href="mailto:benedikt.oswald@lspr.ch">benedikt.oswald@lspr.ch</a> - labor vincit omnia improbus<br>--------------------------------------------------------------------------------------------------------------------------------------------------------------</div></div></div></div>
</div>
<br><div><div>On 17 Apr 2014, at 12:10, Markus Blatt <<a href="mailto:markus@dr-blatt.de">markus@dr-blatt.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br>On Thu, Apr 17, 2014 at 11:51:16AM +0200, Benedikt Oswald wrote:<br><blockquote type="cite">Dear Dune<br><br>it may be a trivial question, but how & where would I specify the path to Boost<br>when using the cmake based file system in Dune ?<br><br>I fact, I use an opts file like:<br><br>========================<br><br>CMAKE_FLAGS="--enable-experimental-grid-extensions --enable-shared --enable-static -DCMAKE_CXX_FLAGS=\"-O2\" -DCMAKE_PREFIX_PATH=\"$HOME/extlib/boost/1.55.0/gcc/4.8.1;$HOME/extlib/alugrid/1.52/openmpi/1.6.5/gcc/4.8.1;$HOME/extlib/metis/5.1.0/gcc/4.8.1;$HOME/extlib/parmetis/4.0.3/openmpi/1.6.5/gcc/4.8.1\" " <br><br></blockquote><br>If boost is a non-standard place, then you can use<br>-DBOOST_ROOT=/path/to/boost/install in the CMAKE_Flags to specify the<br>installation path. We might have missed translating --with-boost to<br>CMake syntax, I guess. Did you use --with-boost when using automake?<br><br>Markus<br><br>-- <br>Do you need more support with DUNE or HPC in general? <br><br>Dr. Markus Blatt - HPC-Simulation-Software & Services <a href="http://www.dr-blatt.de">http://www.dr-blatt.de</a><br>Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany<br>Tel.: +49 (0) 160 97590858<br>_______________________________________________<br>Dune mailing list<br><a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br>http://lists.dune-project.org/mailman/listinfo/dune<br></blockquote></div><br></div></div></body></html>