• 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 Having trouble compiling latest TF 1.2 source - missing headers

Fermantor

Active Member
Joined
Dec 16, 2009
Messages
209
Solutions
4
Reaction score
33
Location
Germany
I was trying to compile the latest source, since some nice features where added since 2016 (last official release).
I included:
  • boost_1_66_0-msvc-14.1-64.exe
  • tfs-sdk-3.2

But it seems to be missing some headers (mysql/mysql.h, cryptopp/rsa.h, and maybe more)
Since mysql.h is in the tfs-sdk I tried to link it right, but then more stuff is missing and then there is also some errorcodes 24.

I'm always having a hard time when it comes to compiling, but I really think I linked everything correct this time. So what files am I missing?
 

Attachments

  • Anmerkung 2019-09-14 191357.png
    Anmerkung 2019-09-14 191357.png
    145.6 KB · Views: 6 · VirusTotal
Solution
You say 1.2, but then say latest source. Are you compiling 1.2 branch from GitHub or are you compiling the master branch? Both have different compiling instructions, the old way to compile 1.2 will not work with master branch.

If you are compiling master branch, follow this tutorial instead: otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29)
Otherwise, if you're actually compiling 1.2, go to project->properties->additional include directories and manually add each include folder from the TFS SDK, do the same with project->properties->linker->additional linker directories and add the lib folders (use lib64 if applicable, since you're more...
You say 1.2, but then say latest source. Are you compiling 1.2 branch from GitHub or are you compiling the master branch? Both have different compiling instructions, the old way to compile 1.2 will not work with master branch.

If you are compiling master branch, follow this tutorial instead: otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29)
Otherwise, if you're actually compiling 1.2, go to project->properties->additional include directories and manually add each include folder from the TFS SDK, do the same with project->properties->linker->additional linker directories and add the lib folders (use lib64 if applicable, since you're more than likely compiling for 64-bit)
 
Solution
Oh, yeah than I'm actually talking about 1.3. I thought the github sources where 1.2 as well. But that is actually 1.3. What does that master branch mean?

Thanks anyway, I'm gonna try my luck again then.
 
Oh, yeah than I'm actually talking about 1.3. I thought the github sources where 1.2 as well. But that is actually 1.3. What does that master branch mean?

Thanks anyway, I'm gonna try my luck again then.
Master branch is 1.3. 1.3 isn't a released version so its branch is master branch since it's the latest in-development TFS version.
 
Back
Top