Dran Ryszard
Member
Hi, i build new PC and i installed again vs2022, vcpkg blabla, but when i tried compile tfs 1.5 (greed version)
I got that error, fmt package is installed.
If i good remember, when im used this tfs pack on my old pc, it work perfect without any errors, maybe someone packed got update?
I got that error, fmt package is installed.
If i good remember, when im used this tfs pack on my old pc, it work perfect without any errors, maybe someone packed got update?
Code:
Build started...
1>------ Build started: Project: theforgottenserver, Configuration: Release x64 ------
1>iomapserialize.cpp
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1576,63): error C2079: '_' uses undefined struct 'fmt::v10::detail::type_is_unformattable_for<T,char>'
1> with
1> [
1> T=AccessList_t
1> ]
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1808,23): message : see reference to function template instantiation 'fmt::v10::detail::value<Context> fmt::v10::detail::make_arg<true,Context,AccessList_t,0>(T &)' being compiled
1> with
1> [
1> Context=fmt::v10::format_context,
1> T=AccessList_t
1> ]
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1826,3): message : see reference to function template instantiation 'fmt::v10::format_arg_store<fmt::v10::format_context,unsigned int,AccessList_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::format_arg_store<uint32_t,AccessList_t,std::string>(uint32_t &,AccessList_t &,std::string &)' being compiled
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(2788,28): message : see reference to function template instantiation 'fmt::v10::format_arg_store<fmt::v10::format_context,unsigned int,AccessList_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>>> fmt::v10::make_format_args<fmt::v10::format_context,uint32_t,AccessList_t,std::string>(uint32_t &,AccessList_t &,std::string &)' being compiled
1>C:\Users\knowa\Desktop\Greed-TFS-1.5-Downgrades-8.60\src\iomapserialize.cpp(331,26): message : see reference to function template instantiation 'std::string fmt::v10::format<uint32_t,AccessList_t,std::string>(fmt::v10::basic_format_string<char,unsigned int,AccessList_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>,uint32_t &&,AccessList_t &&,std::string &&)' being compiled
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1580,7): error C2338: static_assert failed: 'Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt'
1>Done building project "theforgottenserver.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 17:32 and took 02,618 seconds ==========