educelab / vc-deps

CMake project for building Volume Cartographer dependencies from source
GNU Affero General Public License v3.0
1 stars 0 forks source link

Boost fails to build on macOS Sonoma #4

Closed csparker247 closed 7 months ago

csparker247 commented 8 months ago

Among a massive log, there's at least this error:

./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> {};
                           ~~~~~^~~~~~~~~~~~~~
                                __unary_function
/Library/Developer/CommandLineTools/SDKs/MacOSX.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>;
csparker247 commented 7 months ago

Fixed in #5