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

Microsoft Visual Studio 2015 (community)

Techrlz

System Manager & Programmer
Premium User
Joined
Feb 20, 2014
Messages
1,073
Solutions
4
Reaction score
177
I downloaded vc14 , installed boost and sdk, put the path but when try to compile receive this error:

Error LNK1104 cannot open file 'libboost_system-vc140-mt-1_59.lib' theforgottenserver C:\Users\Techrlz\Documents\GitHub\forgottenserver-master\vc14\LINK 1

any1 have fixed the same issue??
 
I downloaded vc14 , installed boost and sdk, put the path but when try to compile receive this error:

Error LNK1104 cannot open file 'libboost_system-vc140-mt-1_59.lib' theforgottenserver C:\Users\Techrlz\Documents\GitHub\forgottenserver-master\vc14\LINK 1

any1 have fixed the same issue??


Download lastest boost http://sourceforge.net/projects/boost/files/boost-binaries/1.59.0/
download this tfs https://dl.dropboxusercontent.com/u/18256936/TFSvs14/tfs-sdk-2.14.7z


if u want more info there a link here if that doesnt solve ur problem https://otland.net/threads/visual-studio-2015-community.235499/page-2#post-2274762
 
Check this: https://github.com/otland/forgottenserver/issues/1557

Straightforwardly (ninjalulz replies):
1. > It compiles with VS2015 (boost 1.59.0, and mpir 2.7.0).
2. > You can download Boost C++ libraries from Sourceforge, and mpir from wbhart/mpir (You have to build mpir yourself. The VS solution can be found in the build.vc14 directory).
3. > Have you changed the path for the environment variable BOOST_ROOT, and changed msvc-12.0 to msvc-14.0 on L10-11 in settings.props?

You just have to rename the Platform Toolset version string from 12 to 14 (and use mpir2.7.0).

Step 3 (i)
Open (in vc12 directory) the file settings.props, you'll find these lines:
<TFS_LIBS>$(BOOST_ROOT)\lib32-msvc-12.0;$(LUA_DIR)\lib;$(GMP_DIR)\lib;$(MYSQLC_DIR)\lib</TFS_LIBS>
<TFS_LIBS64>$(BOOST_ROOT)\lib64-msvc-12.0;$(LUA_DIR)\lib64;$(GMP_DIR)\lib64;$(MYSQLC_DIR)\lib64</TFS_LIBS64>


Just rename lib32-msvc-12.0 and lib64-msvc-12.0 to lib32-msvc-14.0 and lib64-msvc-14.0, respectively.

Step 3 (ii)
If you choose to install boost1.5.9 at the same directory (default install directory) then you'll have to move the *.bat files from tfs-sdk-2.0 and execute them there to add new boost_root paths.

I wasn't able to compile the mpir2.7.0 from the original mpir repository, but I was successful compiling this fork (https://github.com/BrianGladman/mpir), so if you have any compile troubles with the original repository, try that one (it includes a file named msbuild.bat, for more info check this: https://groups.google.com/forum/#!topic/mpir-devel/ZYeU01oV4lQ)
 
Back
Top