• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Errors while compiling TFS 1.5 8.60 downgraded by Nekiro (VS 22 + vcpkg)

patron94

New Member
Joined
Jun 8, 2023
Messages
8
Reaction score
2
Hi there. I will be grateful for an assistance from someone who understands given errors and knows how to fix them.

I operate on updated Windows 10 pro.

Procedure (following steps from this guide):
  • Install MS Visual Studio Community 22 english version (default installation + Desktop development with C++)
  • Install Git
  • Launch Git Bash and trigger following commands:
git clone GitHub - microsoft/vcpkg: C++ Library Manager for Windows, Linux, and MacOS (https://github.com/Microsoft/vcpkg) && cd vcpkg && ./bootstrap-vcpkg.bat && ./vcpkg integrate install
./vcpkg install --triplet x64-windows boost-iostreams boost-asio boost-system boost-variant boost-lockfree luajit libmariadb pugixml cryptopp fmt
  • Installation goes well, apparently 0 errors.
  • Open vc17\theforgottenserver.sln with VS and build or rebuild using release x64


Most of the compiling errors are related to fmt::v10::format_error and std::runtime_error

examples:
1>E:\vcpkg\installed\x64-windows\include\fmt\format.h(1055,15): message : see declaration of 'fmt::v10::format_error' (compiling source file ..\src\iomap.cpp)
1>E:\vcpkg\installed\x64-windows\include\fmt\format.h(1055,56): warning C4275: non dll-interface class 'std::runtime_error' used as base for dll-interface class 'fmt::v10::format_error' (compiling source file ..\src\ioguild.cpp)

Full log here.


What I tried so far:

- Reinstalling Windows

- Installing and later reinstalling VS + vcpkg

- Compiling using older VS version (19)

- Trying to compile any original FTS (for instance 1.42 1.41 1.40) as well FTS 1.5 8.0 7.72 downgraded by Nekiro and resulting with almost the same errors.

- Reinstalling ftm with following commands .\vcpkg remove --purge fmt:x64-windows .\vcpkg install fmt:x64-windows .\vcpkg integrate install
 
Last edited:
Back
Top