I built MoonRay on macOS Sequoia. The dependency build (Step 4) failed when compiling Boost.Python because the bundled Boost version is not compatible with NumPy 2.x.
Manually replaced reinterpret_cast<PyArray_Descr*>(ptr())->elsize by PyDataType_ELSIZE(reinterpret_cast<PyArray_Descr*>(ptr())) in /Applications/MoonRay/build-deps/Boost-prefix/src/Boost/libs/python/src/numpy/dtype.cpp. It worked and built successfully.
I built MoonRay on macOS Sequoia. The dependency build (Step 4) failed when compiling Boost.Python because the bundled Boost version is not compatible with NumPy 2.x.
Manually replaced
reinterpret_cast<PyArray_Descr*>(ptr())->elsizebyPyDataType_ELSIZE(reinterpret_cast<PyArray_Descr*>(ptr()))in/Applications/MoonRay/build-deps/Boost-prefix/src/Boost/libs/python/src/numpy/dtype.cpp. It worked and built successfully.