On Tue, Jun 24, 2014 at 1:11 PM, Sai Rajeshwar <[email protected]> wrote:
>
> login2$ make
> [100%] Building CXX object CMakeFiles/demo_poisson.dir/main.cpp.o
> In file included from
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/type_traits:35,
>                  from /home1/03023/rajeswar/include/dolfin/common/MPI.h:30,
>                  from
> /home1/03023/rajeswar/include/dolfin/common/dolfin_common.h:17,
>                  from /home1/03023/rajeswar/include/dolfin.h:10,
>                  from
> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/main.cpp:34:
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/c++0x_warning.h:31:2:
> error: #error This file requires compiler and library support for the
> upcoming ISO C++ standard, C++0x. This support is currently experimental,
> and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.

This is the same problem you had with the Python demo, that is, it
does not include the -std=c++0x flag. Can you attach the
CMakeCache.txt file in the demo build directory. Please also attach
DOLFINConfig.cmake (which should be installed in ~/share/dolfin/cmake/
in your case).

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to