Open monokotech opened 6 days ago
That's a bug in fmtlib https://github.com/fmtlib/fmt/issues/4091
There is no new release of fmtlib yet so you can keep your workaround until they release a new version.
The issue can be temporarily resolved by adding the missing using reference = char&;
.
I think it would be good to keep this open until we have either the next version of fmt in vcpkg or we would need to pin the version there. (That is pinning vcpkg version, since package versions can only be specified with some JSON file which we do not use)
The following error message is displayed during compilation (output.cpp:104):
Here is the latest version of format.h in the fmtlib:
The version of format.h in
vcpkg-export-20240826-223407.zip
is as follows:My guess about the cause of the above error is that the missing
reference
anddifference_type
may be contributing factors, but I don't know how to resolve this issue. Simply removing the use offmt::styled
allows the compilation to succeed.