Jump to content

0ad-0.0.26 isn't compatible with libgmt-10.0.0


YuriVict
 Share

Recommended Posts

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

  • 2 months later...

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

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...