There's an issue about this: https://github.com/dealii/dealii/issues/16662
I'm using apple silicon macOS with clang too, I installed dealii master branch by candi, and everything works fine. 在2024年7月7日星期日 UTC+8 02:27:49<S. M. Mallikarjunaiah> 写道: > Dear all, > > I am using the deal.II app on Mac Sonoma 14.5 and Xcode 15.4, clang 15.0 > and getting the following error: > > ---------------------------------------------------------------------------------------------------------- > > */Applications/deal.II.app/Contents/Resources/Libraries/include/boost/container_hash/hash.hpp:132:33 > > <http://deal.II.app/Contents/Resources/Libraries/include/boost/container_hash/hash.hpp:132:33>: > > **error: **no template named 'unary_function' in namespace 'std'; did you > mean '__unary_function'?* > > struct hash_base : std::unary_function<T, std::size_t> {}; > > */Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: > > note: *'__unary_function' declared here > > using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; > > > ---------------------------------------------------------------------------------------------------------- > > I installed a newer boost and then reinstalled the deal.II app, but I am > still getting the same error. I would greatly appreciate any help fixing > this error. Thank you very much. > > Best, > > Mallikarjuna > > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/cadd53d3-debe-496d-9f38-1d51efacbf31n%40googlegroups.com.
