<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;">here's the respective output when running make VERBOSE=1 in ./dune-grid-howto/build-cmake:<div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">odysseus:build-cmake oswald$ make VERBOSE=1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Users/oswald/extlib/cmake/2.8.11.2/gcc/4.8.1/bin/cmake -H/Users/oswald/gitwork/hades-cmake/dune-grid-howto -B/Users/oswald/gitwork/hades-cmake/dune-grid-howto/build-cmake --check-build-system CMakeFiles/Makefile.cmake 0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Users/oswald/extlib/cmake/2.8.11.2/gcc/4.8.1/bin/cmake -E cmake_progress_start /Users/oswald/gitwork/hades-cmake/dune-grid-howto/build-cmake/CMakeFiles /Users/oswald/gitwork/hades-cmake/dune-grid-howto/build-cmake/CMakeFiles/progress.marks</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/adaptivefinitevolume.dir/build.make CMakeFiles/adaptivefinitevolume.dir/depend</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">cd /Users/oswald/gitwork/hades-cmake/dune-grid-howto/build-cmake && /Users/oswald/extlib/cmake/2.8.11.2/gcc/4.8.1/bin/cmake -E cmake_depends "Unix Makefiles" /Users/oswald/gitwork/hades-cmake/dune-grid-howto /Users/oswald/gitwork/hades-cmake/dune-grid-howto /Users/oswald/gitwork/hades-cmake/dune-grid-howto/build-cmake /Users/oswald/gitwork/hades-cmake/dune-grid-howto/build-cmake /Users/oswald/gitwork/hades-cmake/dune-grid-howto/build-cmake/CMakeFiles/adaptivefinitevolume.dir/DependInfo.cmake --color=</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/adaptivefinitevolume.dir/build.make CMakeFiles/adaptivefinitevolume.dir/build</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(224, 83, 53); background-color: rgb(43, 43, 43);"><b>Linking CXX executable adaptivefinitevolume</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Users/oswald/extlib/cmake/2.8.11.2/gcc/4.8.1/bin/cmake -E cmake_link_script CMakeFiles/adaptivefinitevolume.dir/link.txt --verbose=1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Users/oswald/extlib/gcc/4.8.1/gcc/4.8.1/bin/g++    -std=c++11  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/adaptivefinitevolume.dir/adaptivefinitevolume.cc.o  -o adaptivefinitevolume  -L/Users/oswald/gitwork/hades-cmake/dune-grid-howto/lib  /Users/oswald/gitwork/hades-cmake/dune-common/build-cmake/lib/libdunecommon.a /Users/oswald/gitwork/hades-cmake/dune-geometry/build-cmake/lib/libdunegeometry.a /Users/oswald/gitwork/hades-cmake/dune-grid/build-cmake/lib/libdunegrid.a /Users/oswald/gitwork/hades-cmake/dune-geometry/build-cmake/lib/libdunegeometry.a /Users/oswald/gitwork/hades-cmake/dune-common/build-cmake/lib/libdunecommon.a -framework Accelerate </div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">ld: warning: directory not found for option '-L/Users/oswald/gitwork/hades-cmake/dune-grid-howto/lib'</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">Undefined symbols for architecture x86_64:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">  "toupper(int)", referenced from:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">      Dune::dgf::makeupcase(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) in libdunegrid.a(basic.cc.o)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">      Dune::dgf::makeupcase(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) in libdunegrid.a(gridparameter.cc.o)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">ld: symbol(s) not found for architecture x86_64</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">collect2: error: ld returned 1 exit status</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">make[2]: *** [adaptivefinitevolume] Error 1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">make[1]: *** [CMakeFiles/adaptivefinitevolume.dir/all] Error 2</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">make: *** [all] Error 2</div><div><br></div><div><br></div><div>Thanks, Benedikt</div><div><br></div><div><br></div><div><div apple-content-edited="true"><br>
</div>
<br><div><div>On 29 Jan 2014, at 12:06, Steffen Müthing <<a href="mailto:steffen.muething@iwr.uni-heidelberg.de">steffen.muething@iwr.uni-heidelberg.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Does it work when you build with autotools?<br><br>In that case, it would be helpful to have the two actual linker commands.<br>I think you can force cmake to print the commands (like autotools)<br>by running make VERBOSE=1.<br><br><br>Am 29.01.2014 um 11:41 schrieb Christoph Grüninger <<a href="mailto:christoph.grueninger@iws.uni-stuttgart.de">christoph.grueninger@iws.uni-stuttgart.de</a>>:<br><br><blockquote type="cite">Hi Benedikt,<br>might be helpful to change the used C++ library:<br><a href="http://stackoverflow.com/q/16352833">http://stackoverflow.com/q/16352833</a><br>http://stackoverflow.com/q/19621831<br><br><blockquote type="cite">How and where exactly should I run make check ?<br></blockquote><br>Sorry, that's difficult to know without CMake background. I'll write a<br>short hands-on in the Dune User Wiki. Until then:<br>Go to the build directory, by default it is dune-common/build-cmake.<br>Execute "make test".<br><br>Bye<br>Christoph<br><br>-- <br>Une science n'était vraiment développée que quand elle<br>pouvait utiliser les mathématiques.    (Paul Lafargue)<br>*********************************************<br>CMWR 2014: 10th - 13th June 2014 in Stuttgart<br>        Please visit www.cmwr14.de<br>*********************************************<br><br>_______________________________________________<br>Dune mailing list<br>Dune@dune-project.org<br>http://lists.dune-project.org/mailman/listinfo/dune<br></blockquote><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>