Comments (4)
@ErikasKontenis I have installer fmt 9.0 but now I'm facing another issue:
Severity Code Description Project File Line Suppression Status
Error LNK2001 unresolved external symbol "class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl fmt::v9:: vformat(class fmt::v9::basic_string_view,class fmt::v9::basic_format_args<class fmt::v9::basic_format_context<class fmt::v9::appender,char> >)" (? vformat@v9@fmt@@ya?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v?$basic_string_view@D@12@V?$basic_format_args@V? $basic_format_context@Vappender@v9@fmt@@d@v9@fmt@@12@@z) theforgottenserver D:\OT Tibia\Xenon_Mix\vc14\iologindata.obj 1
from sabrehavenserver.
@ErikasKontenis @tarantonio @danilopucci
from sabrehavenserver.
Fmt made breaking changes. You either download fmt 9.0 or apply latest changes from tfs
https://github.com/otland/forgottenserver/blob/283c5405d0fc6e3dc346ec3f64d0423f9ec3ba1f/src/tools.h#L79
from sabrehavenserver.
@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>
FMT_CONSTEXPR FMT_INLINE auto make_value(T&& val) -> value {
auto&& arg = arg_mapper().map(FMT_FORWARD(val));
using arg_type = remove_cvref_t<decltype(arg)>;
constexpr bool formattable_char =
!std::is_same<arg_type, unformattable_char>::value;
static_assert(formattable_char, "Mixing character types is disallowed.");
// Formatting of arbitrary pointers is disallowed. If you want to format a
// pointer cast it to void*
or const void*
. In particular, this forbids
// formatting of [const] volatile char*
printed as bool by iostreams.
constexpr bool formattable_pointer =
!std::is_same<arg_type, unformattable_pointer>::value;
static_assert(formattable_pointer,
"Formatting of non-void pointers is disallowed.");
constexpr bool formattable = !std::is_same<arg_type, unformattable>::value;
static_assert(
formattable,
"Cannot format an argument. To make type T formattable provide a "
"formatter specialization: https://fmt.dev/latest/api.html#udt");
return {arg};
}'
from sabrehavenserver.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sabrehavenserver.