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

TFS SDK v1.0 for MSVC++

kornholi

Administrator
Staff member
Administrator
Joined
May 28, 2007
Messages
1,018
Reaction score
64
Location
Chicago, USA
TFS SDK includes all libraries needed to compile TFS except for Boost.

After extracting run registerenv.bat or set the environment variable TFSSDKDir to the directory.

v1.0:
  • libiconv 1.14
  • libxml2 2.7.8
  • LuaJIT 2.0.0-beta9
  • mpir 2.5.0
  • mysql connector/c++ 1.1.0
  • mysql connector/c 6.0.2
  • openssl 0.9.8k
  • libpq (postgresql 9.1.2-1)
  • sqlite3 3.7.7.1
  • zlib 1.2.5
All libraries are compiled for x86 and x64.

Download: rar

v2.0:
  • mpir 2.6.0
  • LuaJIT 2.0.2
  • MySQL Connector/C 6.1.2
Download: zip
 
Last edited by a moderator:
@narko You know at least what is "SDK"?

@topic Thank you, great release :)
 
You should only use the dlls from the sdk. They are in lib and lib64 directories, respectively.
 
how do I use it in project?
I need add each dir in LIB directory/INCLUDE directory?

I already can build the project (last rev), but when I run the .exe, give error (The application cannot initialize corectly (0xc000007b)
I compiled boost lib and added to include/lib in project...

trying compile in x64...
 
Yep... it doesn't work... compilled with this and boost 147, and TFS crashes without saying a word... Maybe you could add your boost and some DLLs?
 
how do I use it in project?
I need add each dir in LIB directory/INCLUDE directory?

I already can build the project (last rev), but when I run the .exe, give error (The application cannot initialize corectly (0xc000007b)
I compiled boost lib and added to include/lib in project...

trying compile in x64...

Run registerenv.bat in sdk and open the project in MSVS, you don't need to edit lib/include dirs if you're using trunk.

You also need to copy appropriate dlls from the sdk to run the compiled exe.

Instead of adding boost to lib/include you can do 'setx BoostDir c:/path/to/boost/' with compiled libs being in stage/stage64.
 
I don't get what you are suposed to do...
Could you explain it a little bit better please?
 
Code:
1>------ Rebuild All started: Project: tfs, Configuration: Release Win32 ------
1>  otpch.cpp
1>c:\users\xxxx\desktop\forgottenserver-trunk.r5702\trunk.r5702\otpch.h(34): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Help? :|
 
You need boost library, Kornholijo left it out as he stated in his first post.
Use the boost library provided by MartyX in the premium boards.
 
After extracting run registerenv.bat or set the environment variable TFSSDKDir to the directory.
none of them works
1>d:\program files (x86)\ot\tfs\otpch.h(29): fatal error C1083: Cannot open include file: 'libxml/xmlmemory.h': No such file or directory

- - - Updated - - -

If not this way, then how:
howc.png
 
Back
Top