unary_function

31 views
Skip to first unread message

thodo...@gmail.com

unread,
Jun 13, 2024, 5:20:14 PMJun 13
to deal.II User Group
Dear all 

I downloaded dmg file from deal.II website, the installation was ok, but when I tried to compile I got the following error. Any suggestion on how to overcome it ?
I am on an Intel Mac running Sonoma and Xcode 14.5., clang 15
many thanks 

Thodoros 

/Applications/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>;
Reply all
Reply to author
Forward
0 new messages