• 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 error - glew32

i'll try to compile it at monday, today i ended with similar error but had to go :) i can send u whole project after i finish or so...
 
ok, i've downloaded 32bit (in other words: x86) of boost-1_55 for visual studio 2013 from https://sourceforge.net/projects/boost/files/boost-binaries/1.55.0-build2/
it is the "boost_1_55_0-msvc-12.0-32.exe" file.
i'm using visual studio 2015, so i got stuck with this error:
error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in animatedtext.obj
fatal error LNK1104: cannot open file 'libboost_date_time-vc120-mt-sgd-1_55.lib'

i can download visual studio 2013 sdk and set the toolset to visual studio 2013... but first i'll try to link boost-1_61, then edit my post and put it here:

@EDIT
with boost-1_61 (the newest one, it had to be appropriate to my VS 2015 version) it finally compiled (don't mind some missing .pdb errors) :)

You are using VS 2013 as the project's original one, so the solution for your missing libs is:
1) download the boost-1_55 that i wrote about at the beginning of this post.
2) extract it and then *link that in your project (or just copy missing libs from the downloaded boost-1_55 from sourceforge to the boost-1_55 inside libs downloaded from otland (link was posted in this topic earlier - filename "otclient-msvc13-libs"). The sourceforge version weights around 3,3 GB, while the otland's version is 177MB since it contains only necessary files.

If i'm wrong about your VS version then just download appropriate version of boost-1_55 for your VS (2010-2013 are supported in boost-1_55 i think) - msvc12 is for VS 2013, msvc11 for VS 2012, etc.

*remember there are 4 places to link your includes/libs (2 for includes and 2 for libs).

Possible solutions for VS 2015:
1) use newer boost version and fix or skip errors/warnings.
2) download VS 2013 toolset and set "platform toolset" to Visual Studio 2013 in Project Properties -> Configuration Properties -> General.
3) switch to visual studio 2013 :D (version exact to project's version)

P.S. on OS X/Linux i compiled it without troubles.
 
Last edited:
But your error is:
missing libboost_thread-vc110-mt-1_50.lib
but boost-1_55 was used, not 1_50. If I were you I'd try to configure the project once again from 0. I mean delete all, download again, configure, compile, put libs for boost-1_55 from sourceforge etc...
 
Back
Top