Hi,
I created a fences code which is running perfectly on a linux system. I installed the same FEniCS version on my MacBook but somehow I am not able to get it to run. I am getting the following warnings and errors
[ 66%] Building CXX object CMakeFiles/main.dir/main.cpp.o
In file included from /Users/machati/Documents/TUC/WiSe2015/FEniCS/DGM/main.cpp:1:
In file included from /Applications/FEniCS.app/Contents/Resources/include/dolfin.h:10:
In file included from /Applications/FEniCS.app/Contents/Resources/include/dolfin/common/dolfin_common.h:16:
In file included from /Applications/FEniCS.app/Contents/Resources/include/dolfin/common/Timer.h:26:
In file included from /Applications/FEniCS.app/Contents/Resources/include/boost/timer/timer.hpp:14:
In file included from /Applications/FEniCS.app/Contents/Resources/include/boost/chrono/chrono.hpp:11:
/Applications/FEniCS.app/Contents/Resources/include/boost/chrono/duration.hpp:667:28: warning:
'constexpr' non-static member function will not be implicitly 'const' in
C++1y; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
...bool operator()(const LhsDuration& lhs, const RhsDuration& rhs)
^
const
/Applications/FEniCS.app/Contents/Resources/include/boost/chrono/duration.hpp:677:28: warning:
'constexpr' non-static member function will not be implicitly 'const' in
C++1y; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
...bool operator()(const LhsDuration& lhs, const LhsDuration& rhs)
^
const
/Applications/FEniCS.app/Contents/Resources/include/boost/chrono/duration.hpp:686:28: warning:
'constexpr' non-static member function will not be implicitly 'const' in
C++1y; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
...bool operator()(const LhsDuration& lhs, const RhsDuration& rhs)
^
const
/Applications/FEniCS.app/Contents/Resources/include/boost/chrono/duration.hpp:696:28: warning:
'constexpr' non-static member function will not be implicitly 'const' in
C++1y; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
...bool operator()(const LhsDuration& lhs, const LhsDuration& rhs)
^
const
4 warnings generated.
Linking CXX executable main
ld: library not found for -lvtkCommon
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [main] Error 1
make[1]: *** [CMakeFiles/main.dir/all] Error 2
make: *** [all] Error 2
I hope you can help me. Thanks.