<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Dear Markus,thanks, the letter did the trick! works fine now!<div>Greetings, Benedikt</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></div></div></div></div>
</div>
<br><div style=""><div>On 17 Apr 2014, at 12:45, Markus Blatt <<a href="mailto:markus@dr-blatt.de">markus@dr-blatt.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Thu, Apr 17, 2014 at 12:30:47PM +0200, Benedikt Oswald wrote:<br><blockquote type="cite">Hello Markus and Christoph,<br><br>thanks for the quick reply!<br><br>I fact, I use <br><br>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\" " <br><br><br><br>## additional flags<br>##<br>MAKE_FLAGS="-Wall"<br>USE_CMAKE="yes"<br><br><br>when I check with ccmake./ in the build directory of my new application, I see this:<br><br><br><br>BOOST_ROOT<br>/Users/oswald/extlib/boost/1.55.0/gcc/4.8.1 <br></blockquote><br>Looks good.<br><br><blockquote type="cite"><br>when I try to include something like:<br><br>#include <boost/date_time/posix_time/posix_time.hpp><br></blockquote><br>You probably need to set the compile flags for your binary in CMakeLists.txt:<br>add_dune_boost_flags(binary1;binary2)<br><br>or set them globally for all targets with<br>link_libraries(${DUNE_Boost_LIBRARIES})<br>include_directories(${Boost_INCLUDE_DIRS}))<br>add_definitions(-DENABLE_BOOST)<br><br>Markus<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></blockquote></div><br></div></body></html>