Yes, they look okay. What I don't understand is that the flag -std=c++0x is
defined in DOLFIN_CXX_FLAGS in DOLFINConfig.cmake and DOLFIN_CXX_FLAGS is
added to CMAKE_CXX_FLAGS in the CMakeLists.txt for the demo, but still the
flag is not added when compiling the demo. Just to be sure, can you run the
following commands in the C++ poisson demo directory?

  rm -rf build
  mkdir build
  cd build
  cmake ..
  make VERBOSE=1

Then post the output from the make command here.

Johannes


On Tue, Jun 24, 2014 at 4:32 PM, Sai Rajeshwar <[email protected]> wrote:

> are they fine..  should i reinstall dolfin .
>
> thanks..
>
> *with regards..*
>
> *M. Sai Rajeswar*
> *M-tech  Computer Technology*
>
>
> *IIT Delhi----------------------------------Cogito Ergo Sum--------- *
>
>
> On Tue, Jun 24, 2014 at 6:24 PM, Sai Rajeshwar <[email protected]> wrote:
>
>> ​
>>  CMakeCache.txt
>> <https://docs.google.com/file/d/0B02fGs-cS7CeMWhucGQ1Q3lJZlk/edit?usp=drive_web>
>> ​​
>>  DOLFINConfig.cmake
>> <https://docs.google.com/file/d/0B02fGs-cS7CeNXZHQ3RoMGNPRm8/edit?usp=drive_web>
>> ​
>>
>> *with regards..*
>>
>> *M. Sai Rajeswar*
>> *M-tech  Computer Technology*
>>
>>
>> *IIT Delhi----------------------------------Cogito Ergo Sum---------*
>>
>>
>> On Tue, Jun 24, 2014 at 6:01 PM, Johannes Ring <[email protected]> wrote:
>>
>>> 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