-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error #3
Comments
Fmt made breaking changes. You either download fmt 9.0 or apply latest changes from tfs |
@ErikasKontenis Do u know how can I install fmt 9.0 from vcpkg? Or can you help me with applying latest changes from tfs? idk if should I apply in tools.h or in iomarket.cpp or in core.h where the error is point to this: 'template <typename Context, typename T> constexpr bool formattable_char = // Formatting of arbitrary pointers is disallowed. If you want to format a constexpr bool formattable = !std::is_same<arg_type, unformattable>::value; |
@ErikasKontenis I have installer fmt 9.0 but now I'm facing another issue: Severity Code Description Project File Line Suppression Status |
Im having this issue when try build:
iomarket.cpp
1> C:\vcpkg-master\installed\x64-windows\include\fmt\core.h(1691,7): error C2338: static_assert failed: 'Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt' (compilando arquivo de origem ..\src\iomarket.cpp)
1> C:\vcpkg-master\installed\x64-windows\include\fmt\core.h(1711,10): message : consulte a referência à instanciação 'fmt::v10::detail::value fmt::v10::detail::make_value<Context,MarketAction_t&>(T)' do modelo que está sendo compilada
1> with
1> [
1> Context=fmt::v10::format_context,
1> T=MarketAction_t &
1> ] (compilando arquivo de origem ..\src\iomarket.cpp)
1> C:\vcpkg-master\installed\x64-windows\include\fmt\core.h(1825,23): message : consulte a referência à instanciação 'fmt::v10::detail::value fmt::v10::detail::make_arg<true,Context,fmt::v10::detail::type::custom_type,MarketAction_t&,0>(T)' do modelo que está sendo compilada
1> with
1> [
1> Context=fmt::v10::format_context,
1> T=MarketAction_t &
1> ] (compilando arquivo de origem ..\src\iomarket.cpp)
1> C:\vcpkg-master\installed\x64-windows\include\fmt\core.h(1844,3): message : consulte a referência à instanciação 'fmt::v10::format_arg_store<fmt::v10::format_context,MarketAction_t,unsigned short>::format_arg_store<MarketAction_t&,uint16_t&>(MarketAction_t &,uint16_t &)' do modelo que está sendo compilada (compilando arquivo de origem ..\src\iomarket.cpp)
1> C:\vcpkg-master\installed\x64-windows\include\fmt\core.h(2817,28): message : consulte a referência à instanciação 'fmt::v10::format_arg_store<fmt::v10::format_context,MarketAction_t,unsigned short> fmt::v10::make_format_argsfmt::v10::format_context,MarketAction_t&,uint16_t&(MarketAction_t &,uint16_t &)' do modelo que está sendo compilada (compilando arquivo de origem ..\src\iomarket.cpp)
1> D:\OT Tibia\Xenon_Mix\src\iomarket.cpp(26,65): message : consulte a referência à instanciação 'std::string fmt::v10::format<MarketAction_t&,uint16_t&>(fmt::v10::basic_format_string<char,MarketAction_t &,uint16_t &>,MarketAction_t &,uint16_t &)' do modelo que está sendo compilada
1>Destino de compilação pronto "ClCompile" no projeto "theforgottenserver.vcxproj" -- FALHA.
Can you please help me?
The text was updated successfully, but these errors were encountered: