YuriVict Posted July 28, 2023 Report Share Posted July 28, 2023 The build breaks: Quote In file included from ../../../source/network/NetMessage.cpp:1: In file included from ../../../source/pch/network/precompiled.h:19: In file included from ../../../source/lib/precompiled.h:109: In file included from ../../../source/ps/CLogger.h:22: In file included from /usr/local/include/fmt/printf.h:14: In file included from /usr/local/include/fmt/format.h:49: /usr/local/include/fmt/core.h:1690:3: error: static_assert failed due to requirement 'formattable' "Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt" static_assert( ^ /usr/local/include/fmt/core.h:1711:10: note: in instantiation of function template specialization 'fmt::detail::make_value<fmt::basic_printf_context<fmt::appender, char>, const NetMessageType &>' requested here return make_value<Context>(val); ^ Quote Link to comment Share on other sites More sharing options...
YuriVict Posted July 28, 2023 Author Report Share Posted July 28, 2023 Correction: it is libfmt-10.0.0 Quote Link to comment Share on other sites More sharing options...
hyperion Posted July 28, 2023 Report Share Posted July 28, 2023 Was fixed in svn. If you need a26 you can backport https://code.wildfiregames.com/rP27657 Quote Link to comment Share on other sites More sharing options...
timsoft Posted October 27, 2023 Report Share Posted October 27, 2023 thanks for the pointer. just applied for the slackbuild. for reference the following couple of sed commands work for me:-) sed -i 's/, header.GetType()/, static_cast<int>(header.GetType())/g' source/network/NetMessage.cpp sed -i 's/, arrayType/, static_cast<int>(arrayType)/g' source/simulation2/serialization/BinarySerializer.cpp 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.