Closed tcaduser closed 8 months ago
Setting the isysroot to 13.3 seems to fix the problem:
CMAKE_OSX_SYSROOT:PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
I have a hunch that you are using std::complex<cpp_bin_float<>>
, and unfortunately, std::complex is specified in a way that means it cannot be used with anything other than float, double and long double. You may get lucky with some std lib versions where it will work "by accident", What the std actually says is "The effect of instantiating the template complex for any type that is not a cv-unqualified floating-point type (6.8.2) is unspecified."
For this reason we provide are own complex number wrappers: https://www.boost.org/doc/libs/1_84_0/libs/multiprecision/doc/html/boost_multiprecision/tut/complex/cpp_complex.html
Thank you @jzmaddock, that is exactly the issue.
Using tag
boost-1.82.0
onmacOS 14.3.1 (23D60)
, with the 14.2 sdk