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

Windows Boost issue in Compiling 10.9

butrocker

New Life
Joined
Aug 17, 2008
Messages
92
Reaction score
4
Hello, So I've got a problem on my hands!

I downloaded visual studios 2015, tfs master files from GitHub, Boost
but when I try and compile I get the same error no matter what I do!
I've tried re installing boost, I've re downloaded the tfs files and I'm still having the same problem

I get:
Error C1083 Cannot open include file: 'boost/asio.hpp': No such file or directory theforgottenserver c:\users\chris\desktop\forgottenserver-master\src\otpch.h 42 Severity Code Description Project File Line Suppression State

is there anyone that can point me in the right direction.
I feel a little ridiculous not being able to solve something so simple as this!
asio.hpp is even in the location to where I installed boost.. I don't get it any tips?
Thanks!

UPDATE:
I've narrowed myself down to 4 errors, can anyone help me fix these:
Code:
1>  wildcardtree.cpp
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>mpir.lib(memory.obj) : warning LNK4217: locally defined symbol fprintf imported in function __gmp_default_allocate
1>mpir.lib(assert.obj) : warning LNK4049: locally defined symbol fprintf imported
1>mpir.lib(memory.obj) : error LNK2019: unresolved external symbol __imp___iob_func referenced in function __gmp_default_allocate
1>mpir.lib(assert.obj) : error LNK2001: unresolved external symbol __imp___iob_func
1>C:\Users\Chris\Desktop\forgottenserver-master\vc14\x64\Debug\theforgottenserver.exe : fatal error LNK1120: 1 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

*Using the latest version of tfs from GitHub I think its 1.2?*
 
Last edited:
Bump! Hey sorry for my stupid issues.
managed to sort it all out and forgot to post!!
I compiled my server and its working with no errors so we're square.
thanks!
 
Back
Top Bottom