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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...