I would like to update this post.
Apparently you need "-std=c++0x” in gcc ("-std=c++11” from 4.7 gcc onwards)
in order to compile ufc.
15 Eki 2014 tarihinde 11:40 saatinde, obm <[email protected]> şunları
yazdı:
> Dear developers,
> I am unable to compile UFC (via dorsal) due to an error in shared pointers.
>
> I was able to compile using older version of gcc (4.4.7-4), but the newer one
> with some auto optimisation features I would like to try (4.6.2) fail with:
>
> ufc/ufc_wrap.cpp:3837:3: error: 'shared_ptr' is not a member of ‘std'
>
> Is there a way to tell FENICS to use BOOST provided shared pointers without
> having to edit a code I don’t know?
>
> best,
> Baris
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support