magic-lantern-studio / coin

Coin3D core library
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

coin fails to build on MacOS Montery v12.7.5 #2

Closed WizzerWorks closed 2 months ago

WizzerWorks commented 2 months ago

msm@Marks-Mac-Pro Projects % cmake -Hcoin -Bcoin_build -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCOIN_BUILD_DOCUMENTATION=OFF CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- The C compiler identification is AppleClang 14.0.0.14000029 -- The CXX compiler identification is AppleClang 14.0.0.14000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include thread -- Looking for C++ include thread - found CMake Warning (dev) at CMakeLists.txt:172 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found Boost: /usr/local/lib/cmake/Boost-1.85.0/BoostConfig.cmake (found version "1.85.0") -- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/OpenGL.framework -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Boost::boost;OpenGL::GL;OpenGL::GLU;Threads::Threads -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int8_t -- Check size of int8_t - done -- Check size of uint8_t -- Check size of uint8_t - done -- Check size of int16_t -- Check size of int16_t - done -- Check size of uint16_t -- Check size of uint16_t - done -- Check size of int32_t -- Check size of int32_t - done -- Check size of uint32_t -- Check size of uint32_t - done -- Check size of int64_t -- Check size of int64_t - done -- Check size of uint64_t -- Check size of uint64_t - done -- Check size of intptr_t -- Check size of intptr_t - done -- Check size of uintptr_t -- Check size of uintptr_t - done -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/timeb.h -- Looking for sys/timeb.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for io.h -- Looking for io.h - not found -- Looking for ieeefp.h -- Looking for ieeefp.h - not found -- Looking for time.h -- Looking for time.h - found -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for libgen.h -- Looking for libgen.h - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for mach-o/dyld.h -- Looking for mach-o/dyld.h - found -- Looking for NSLookupAndBindSymbol -- Looking for NSLookupAndBindSymbol - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for shl_load in dld -- Looking for shl_load in dld - not found -- Performing Test HAVE_CGL -- Performing Test HAVE_CGL - Success -- Performing Test HAVE_CGL_PBUFFER -- Performing Test HAVE_CGL_PBUFFER - Success -- Looking for OpenGL/gl.h -- Looking for OpenGL/gl.h - found -- Looking for OpenGL/glu.h -- Looking for OpenGL/glu.h - found -- Looking for OpenGL/glext.h -- Looking for OpenGL/glext.h - found -- Looking for OpenGL/CGLCurrent.h -- Looking for OpenGL/CGLCurrent.h - found -- Looking for va_copy -- Looking for va_copy - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for memmove -- Looking for memmove - found -- Looking for bcopy -- Looking for bcopy - found -- Looking for fstat -- Looking for fstat - found -- Looking for localtime_s -- Looking for localtime_s - not found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for ftime -- Looking for ftime - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for isinf -- Looking for isinf - found -- Looking for isnan -- Looking for isnan - found -- Looking for finite -- Looking for finite - found -- Looking for ilogb -- Looking for ilogb - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for builtin_expect -- Looking for __builtin_expect - not found -- Looking for func -- Looking for func - found -- Looking for PRETTY_FUNCTION -- Looking for PRETTY_FUNCTION - found -- Looking for FUNCTION -- Looking for FUNCTION__ - found -- Performing Test HAVE_PTHREAD_TIMESPEC_NSEC -- Performing Test HAVE_PTHREAD_TIMESPEC_NSEC - Success -- Check size of ((struct timeval)0)->tv_sec -- Check size of ((struct timeval)0)->tv_sec - done -- Check size of time_t -- Check size of time_t - done -- Check size of ((struct timeval)0)->tv_usec -- Check size of ((struct timeval)0)->tv_usec - done -- Check size of suseconds_t -- Check size of suseconds_t - done -- Performing Test HAVE_HASH_QUOTING -- Performing Test HAVE_HASH_QUOTING - Success -- Performing Test DISABLE_WARNING_TAUTOLOGCOMPARE -- Performing Test DISABLE_WARNING_TAUTOLOGCOMPARE - Success -- Configuring done (20.7s) -- Generating done (0.7s) -- Build files have been written to: /Users/msm/Projects/coin_build

msm@Marks-Mac-Pro coin % cd coin_build msm@Marks-Mac-Pro coin_build % ls CMakeCache.txt Coin.pc bin data src CMakeFiles Info.plist cmake_install.cmake include testsuite CTestTestfile.cmake Makefile coin-default.cfg lib version.plist msm@Marks-Mac-Pro coin_build % make [ 1%] Building CXX object src/soscxml/CMakeFiles/soscxml.dir/ScXMLCoinEvaluator.cpp.o In file included from /Users/msm/Projects/coin/src/soscxml/ScXMLCoinEvaluator.cpp:50: In file included from /usr/local/include/boost/scoped_array.hpp:13: In file included from /usr/local/include/boost/smart_ptr/scoped_array.hpp:13: /usr/local/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: warning: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86. [-W#pragma-messages] BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") /usr/local/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE' # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))

:346:2: note: expanded from here message("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") 1 warning generated. [ 1%] Building CXX object src/soscxml/CMakeFiles/soscxml.dir/SoScXMLEvent.cpp.o [ 1%] Building CXX object src/soscxml/CMakeFiles/soscxml.dir/SoScXMLStateMachine.cpp.o In file included from /Users/msm/Projects/coin/src/soscxml/SoScXMLStateMachine.cpp:47: In file included from /usr/local/include/boost/scoped_ptr.hpp:13: In file included from /usr/local/include/boost/smart_ptr/scoped_ptr.hpp:13: /usr/local/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: warning: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86. [-W#pragma-messages] BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") /usr/local/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE' \# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) :274:2: note: expanded from here message("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") 1 warning generated. [ 1%] Building CXX object src/soscxml/CMakeFiles/soscxml.dir/eval-coin-tab.cpp.o [ 1%] Building CXX object src/soscxml/CMakeFiles/soscxml.dir/eval-coin.cpp.o [ 1%] Built target soscxml [ 1%] Building CXX object src/xml/CMakeFiles/xml.dir/document.cpp.o In file included from /Users/msm/Projects/coin/src/xml/document.cpp:45: In file included from /usr/local/include/boost/scoped_array.hpp:13: In file included from /usr/local/include/boost/smart_ptr/scoped_array.hpp:13: /usr/local/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: warning: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86. [-W#pragma-messages] BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") /usr/local/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE' \# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) :13:2: note: expanded from here message("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") 1 warning generated. [ 1%] Building CXX object src/xml/CMakeFiles/xml.dir/element.cpp.o [ 1%] Building CXX object src/xml/CMakeFiles/xml.dir/attribute.cpp.o [ 1%] Building CXX object src/xml/CMakeFiles/xml.dir/entity.cpp.o [ 1%] Building CXX object src/xml/CMakeFiles/xml.dir/utils.cpp.o [ 2%] Building CXX object src/xml/CMakeFiles/xml.dir/path.cpp.o [ 2%] Built target xml [ 2%] Building C object src/xml/expat/CMakeFiles/expat.dir/xmlparse.c.o [ 2%] Building C object src/xml/expat/CMakeFiles/expat.dir/xmlrole.c.o [ 2%] Building C object src/xml/expat/CMakeFiles/expat.dir/xmltok.c.o [ 2%] Building C object src/xml/expat/CMakeFiles/expat.dir/loadlibrary.c.o [ 2%] Built target expat [ 2%] Building CXX object src/actions/CMakeFiles/actions.dir/SoAction.cpp.o [ 2%] Building CXX object src/actions/CMakeFiles/actions.dir/SoActionP.cpp.o [ 2%] Building CXX object src/actions/CMakeFiles/actions.dir/SoBoxHighlightRenderAction.cpp.o [ 2%] Building CXX object src/actions/CMakeFiles/actions.dir/SoCallbackAction.cpp.o [ 2%] Building CXX object src/actions/CMakeFiles/actions.dir/SoGLRenderAction.cpp.o In file included from /Users/msm/Projects/coin/src/actions/SoGLRenderAction.cpp:70: In file included from /usr/local/include/boost/scoped_ptr.hpp:13: In file included from /usr/local/include/boost/smart_ptr/scoped_ptr.hpp:13: /usr/local/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: warning: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86. [-W#pragma-messages] BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") ^ /usr/local/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE' \# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) ^ :13:2: note: expanded from here message("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.") ^ 1 warning generated. [ 2%] Building CXX object src/actions/CMakeFiles/actions.dir/SoGetBoundingBoxAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoGetMatrixAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoGetPrimitiveCountAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoHandleEventAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoLineHighlightRenderAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoPickAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoRayPickAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoReorganizeAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoSearchAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoSimplifyAction.cpp.o [ 3%] Building CXX object src/actions/CMakeFiles/actions.dir/SoToVRMLAction.cpp.o [ 4%] Building CXX object src/actions/CMakeFiles/actions.dir/SoToVRML2Action.cpp.o [ 4%] Building CXX object src/actions/CMakeFiles/actions.dir/SoWriteAction.cpp.o [ 4%] Building CXX object src/actions/CMakeFiles/actions.dir/SoAudioRenderAction.cpp.o [ 4%] Built target actions [ 4%] Building CXX object src/base/CMakeFiles/base.dir/dict.cpp.o [ 4%] Building CXX object src/base/CMakeFiles/base.dir/hash.cpp.o [ 4%] Building CXX object src/base/CMakeFiles/base.dir/heap.cpp.o In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:30: /usr/local/include/boost/lexical_cast/detail/buffer_view.hpp:27:34: error: expected '(' for function-style cast or type construction return buffer_view{begin, end}; ~~~~~~~~~~~~~~~~~~^ /usr/local/include/boost/lexical_cast/detail/buffer_view.hpp:31:33: error: expected '(' for function-style cast or type construction return buffer_view{ ~~~~~~~~~~~~~~~~~^ /usr/local/include/boost/lexical_cast/detail/buffer_view.hpp:38:33: error: expected '(' for function-style cast or type construction return buffer_view{ ~~~~~~~~~~~~~~~~~^ In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:32: /usr/local/include/boost/lexical_cast/bad_lexical_cast.hpp:42:27: error: expected ';' at end of declaration list bad_lexical_cast() noexcept ^ ; /usr/local/include/boost/lexical_cast/bad_lexical_cast.hpp:54:64: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] bad_lexical_cast& operator=(const bad_lexical_cast&) = default; ^ /usr/local/include/boost/lexical_cast/bad_lexical_cast.hpp:66:52: error: expected ';' at end of declaration list const type_info_t &target_type_arg) noexcept ^ ; In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:30: /usr/local/include/boost/lexical_cast/detail/is_character.hpp:33:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using is_character = boost::integral_constant< ^ In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:31: /usr/local/include/boost/lexical_cast/detail/converter_numeric.hpp:39:52: error: expected ';' at end of declaration bool ios_numeric_comparer_float(Source x, Source y) noexcept { ^ ; /usr/local/include/boost/lexical_cast/detail/converter_numeric.hpp:39:53: error: C++ requires a type specifier for all declarations bool ios_numeric_comparer_float(Source x, Source y) noexcept { ^ /usr/local/include/boost/lexical_cast/detail/converter_numeric.hpp:39:61: error: expected ';' after top level declarator bool ios_numeric_comparer_float(Source x, Source y) noexcept { ^ ; /usr/local/include/boost/lexical_cast/detail/converter_numeric.hpp:126:63: error: expected ';' at end of declaration list static inline bool try_convert(Source arg, Target& result) noexcept { ^ ; /usr/local/include/boost/lexical_cast/detail/converter_numeric.hpp:167:63: error: expected ';' at end of declaration list static inline bool try_convert(Source arg, Target& result) noexcept { ^ ; In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:32: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:38: /usr/local/include/boost/detail/lcast_precision.hpp:28:20: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using limits = std::numeric_limits; ^ In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:32: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:40: /usr/local/include/boost/lexical_cast/detail/widest_char.hpp:32:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using widest_char = boost::conditional< ^ In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:32: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:52: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:66: /usr/local/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp:63:80: error: expected ';' at end of declaration typename boost::make_unsigned::type lcast_to_unsigned(const T value) noexcept { ^ ; /usr/local/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp:63:81: error: C++ requires a type specifier for all declarations typename boost::make_unsigned::type lcast_to_unsigned(const T value) noexcept { ^ /usr/local/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp:63:89: error: expected ';' after top level declarator typename boost::make_unsigned::type lcast_to_unsigned(const T value) noexcept { ^ ; /usr/local/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp:86:63: error: expected ';' at end of declaration list lcast_put_unsigned(const T n_param, CharT* finish) noexcept ^ ; /usr/local/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp:169:85: error: expected ';' at end of declaration list lcast_ret_unsigned(T& value, const CharT* const begin, const CharT* end) noexcept ^ ; In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:32: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:52: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:67: /usr/local/include/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp:61:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using out_stream_t = std::basic_ostream; ^ /usr/local/include/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp:64:28: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using stringbuffer_t = basic_unlockedbuf, CharT>; ^ /usr/local/include/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp:67:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions] using buffer_t = basic_unlockedbuf, CharT>; ^ In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:32: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:52: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:68: /usr/local/include/boost/lexical_cast/detail/inf_nan.hpp:42:99: error: expected ';' at end of declaration bool lc_iequal(const CharT* val, const CharT* lcase, const CharT* ucase, unsigned int len) noexcept { ^ ; /usr/local/include/boost/lexical_cast/detail/inf_nan.hpp:42:100: error: C++ requires a type specifier for all declarations bool lc_iequal(const CharT* val, const CharT* lcase, const CharT* ucase, unsigned int len) noexcept { ^ /usr/local/include/boost/lexical_cast/detail/inf_nan.hpp:42:108: error: expected ';' after top level declarator bool lc_iequal(const CharT* val, const CharT* lcase, const CharT* ucase, unsigned int len) noexcept { ^ ; In file included from /Users/msm/Projects/coin/src/base/heap.cpp:34: In file included from /usr/local/include/boost/lexical_cast.hpp:33: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:32: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:52: /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:118:50: warning: rvalue references are a C++11 extension [-Wc++11-extensions] optimized_src_stream(optimized_src_stream&&) = delete; ^ /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:118:56: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] optimized_src_stream(optimized_src_stream&&) = delete; ^ /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:119:61: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] optimized_src_stream(const optimized_src_stream&) = delete; ^ /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:120:61: warning: rvalue references are a C++11 extension [-Wc++11-extensions] optimized_src_stream& operator=(optimized_src_stream&&) = delete; ^ /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:120:67: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] optimized_src_stream& operator=(optimized_src_stream&&) = delete; ^ /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:121:72: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] optimized_src_stream& operator=(const optimized_src_stream&) = delete; ^ /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:123:31: error: expected ';' at end of declaration list optimized_src_stream() noexcept ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 13 warnings and 20 errors generated. make[2]: *** [src/base/CMakeFiles/base.dir/heap.cpp.o] Error 1 make[1]: *** [src/base/CMakeFiles/base.dir/all] Error 2 make: *** [all] Error 2
WizzerWorks commented 2 months ago

If you are using a Boost version > 1.82 you may need (at least on macOS) to specify the C++ Standard version on the CMake command line, e.g. -DCMAKE_CXX_STANDARD=11.

For example: cmake -Hcoin -Bcoin_build -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCOIN_BUILD_DOCUMENTATION=OFF -DCMAKE_CXX_STANDARD=11

The MacOS build should then succeed.

WizzerWorks commented 2 months ago

Use -DCMAKE_CXX_STANDARD=11 to resolve this issue.