polysolve
polysolve copied to clipboard
Incompatibility with `libfmt10`? `error: 'fmt::v10::detail::type_is_unformattable_for<cppoptlib::Status, char> _' has incomplete type`
Is something wrong on my side or libfmt10
is unsupported?
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_polysolve/polysolve/work/polysolve-73d98008631b8ae1617131cb4896f784ae2ec5fe/src/polysolve/nonlinear/Solver.cpp:511:21: required from here
/opt/local/include/libfmt10/fmt/core.h:1576:63: error: 'fmt::v10::detail::type_is_unformattable_for<cppoptlib::Status, char> _' has incomplete type
1576 | type_is_unformattable_for<T, typename Context::char_type> _;
| ^
/opt/local/include/libfmt10/fmt/core.h:1580:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
1580 | formattable,
| ^~~~~~~~~~~
/opt/local/include/libfmt10/fmt/core.h:1580:7: note: 'formattable' evaluates to false
May be related to using outdated cppoptlib
: https://github.com/polyfem/polysolve/issues/63