• 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 TFS Nostalrius 7.72 Compiling Problem

froy

Active Member
Joined
Sep 30, 2009
Messages
151
Solutions
3
Reaction score
36
Hey!
I've done everything accordingly to this guide:

otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29)

But when trying to build inside Microsoft visual studio I get this error:
cannot open source file "boost/filesystem.hpp"

full error:
Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    C1083    Cannot open include file: 'boost/filesystem.hpp': No such file or directory (compiling source file ..\src\tile.cpp)    theforgottenserver    c:\users\anton\vcpkg\nostalrius\src\tools.h    24

Any suggestions on how to move on?
I do not have alot of knowledge in this area...
 
@froy You can download my CMakeLists.txt

The change is:
C:
find_package(Boost 1.53.0 COMPONENTS system iostreams filesystem REQUIRED)
:)
 

Attachments

Last edited:
Solution
Back
Top