YuriVict Posted July 28, 2023 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); ^ Link to comment Share on other sites More sharing options...
YuriVict Posted July 28, 2023 Author Share Posted July 28, 2023 Correction: it is libfmt-10.0.0 Link to comment Share on other sites More sharing options...
hyperion Posted July 28, 2023 Share Posted July 28, 2023 Was fixed in svn. If you need a26 you can backport https://code.wildfiregames.com/rP27657 Link to comment Share on other sites More sharing options...
timsoft Posted October 27, 2023 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now