• 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 issue

Joined
Mar 14, 2020
Messages
139
Solutions
3
Reaction score
11
When i try to compile my otserver ( TFS 1.3 ) gives this error:
Error C1083 Cannot open include file: 'spdlog/spdlog.h': No such file or directory

Then i saw a comment about this error that says: A library is missing, this library: gabime/spdlog (https://github.com/gabime/spdlog)

But i dont know how to install this :(, in the github says: Copy the source folder to your build tree and use a C++11 compiler.

But when i try to compile the folder give a lot of erros (the spdlog folder)


Where should i put this library? I'm new on compiling distros.
 
Last edited:
Solution
solved, just added the library to /vcpkg with this line:

.\vcpkg install --triplet x64-windows boost-asio boost-filesystem boost-iostreams boost-lockfree boost-system boost-variant cryptopp libmariadb luajit mpir pugixml spdlog
solved, just added the library to /vcpkg with this line:

.\vcpkg install --triplet x64-windows boost-asio boost-filesystem boost-iostreams boost-lockfree boost-system boost-variant cryptopp libmariadb luajit mpir pugixml spdlog
 
Solution
Back
Top