[Dune] clang compilation error
Ed Scott Wilson Garcia
edscott at imp.mx
Tue Jan 15 20:22:57 CET 2019
Hello,
I've currently compiled the release versions of dune-2.6 and dumux-3.0 using clang 6.0.1 on a FreeBSD-12 host. In order to do this, I've set CMAKE_CXX_COMPILER=clang++, CMAKE_CXX_FLAGS=-stdlib=libc++, CMAKE_EXE_LINKER_FLAGS='-lpthread -lstdthreads -lc++' .
But when I try to compile an example program from the dumux templates, I get
error: no member named 'bool_constant' in namespace 'std'
on the instruction (dune/common/std/type_traits.hh:102)
using std::bool_constant
I'm using the same --opts file used to compile dune, but I must be missing something.
I'm going to keep on looking for an answer, but I would appreciate it if someone on this list has any clue.
regards,
Edscott
More information about the Dune
mailing list