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):
./vcpkg install --triplet x64-windows boost-iostreams boost-asio boost-system boost-variant boost-lockfree luajit libmariadb pugixml cryptopp fmt
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
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:
./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: