Compiling TFS 1.0/1.1 latest source. 64 and 32 bits. Pics and lots of explanation.

Zoriax_

Owner|Antarctica Ots
Joined
Feb 15, 2008
Messages
745
Best answers
0
Reaction score
22
Location
Norway
Code:
1>------ Build started: Project: theforgottenserver, Configuration: Release x64 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
1>Done building project "theforgottenserver.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 

mackerel

Active Member
Joined
Apr 26, 2017
Messages
336
Best answers
12
Reaction score
49
Code:
1>------ Build started: Project: theforgottenserver, Configuration: Release x64 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
1>Done building project "theforgottenserver.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
check this post;

Compiling TFS 1.0/1.1 latest source. 64 and 32 bits. Pics and lots of explanation.
 

ismael jr91

Member
Joined
May 28, 2016
Messages
91
Best answers
0
Reaction score
4
Erro C1083 Cannot open source file: '..\src\otpch.cpp': No such file or directory theforgottenserver C:\Users

someone can help me ?
 

Marksofthe

New Member
Joined
Feb 2, 2015
Messages
1
Best answers
0
Reaction score
0
I have this problem when I try to open the project on MVS2015 express:



Do I have to use MVS2014? Is anyone else using MVS 15 with no problems?
Also, it says I can't open such a project with the Express Edition because it only supports Universal Windows Applications..
God Damn I hate Microft and Visual Studio...

Edit:
To fix this problem, install visual studio community..
 
Last edited:

tnecniiv

scripter to be
Joined
Jan 6, 2012
Messages
294
Best answers
3
Reaction score
22
1>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1>D:\visual\Common7\IDE\VC\VCTargets\Platforms\x64\PlatformToolsets\v141\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
1>Done building project "theforgottenserver.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

i get this error >.<
 
Last edited:

Pattyboy27

New Member
Joined
Feb 15, 2014
Messages
10
Best answers
0
Reaction score
3
If I haven't already posted a thank you, thank you for this!
 

Puppets

Obbey your master
Joined
Feb 24, 2013
Messages
194
Best answers
0
Reaction score
10
Location
Barcelona, Catalunya
I get this error: forgottenserver-master\src\otpch.h(44): fatal error C1083: Cannot open include file: 'pugixml.hpp': No such file or directory
I've checked and I don't even have that file, does anyone know what to do?
 

Yamaken

Pro OpenTibia Developer
Premium User
Joined
Jul 27, 2013
Messages
459
Best answers
3
Reaction score
330

Derlexy

Intermediate OT User
Joined
Jun 29, 2011
Messages
144
Best answers
0
Reaction score
35
Hello guys. I'm trying to compile TFS master branch, and i've done everything on the compiling tutorial from tfs github, but i got this error: Gyazo - 88ea6022cbd08f1d39dfdc344db16948.png
Can someone help me? Have i forgot to do something important? Cuz i think i've done everything right.
 

Gnof11

New Member
Joined
Feb 20, 2019
Messages
2
Best answers
0
Reaction score
0
yo followed the guide and found this error: "
Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido
Error MSB8036 No se encontró la versión del SDK de Windows 10.0.17134.0. Instale la versión requerida del SDK de Windows o cambie la versión del SDK en las páginas de propiedades del proyecto o haciendo clic con el botón derecho en la solución y seleccionando "Redestinar solución". theforgottenserver C: \ Archivos de programa (x86) \ Microsoft Visual Studio \ 2017 \ Community \ Common7 \ IDE \ VC \ VCTargets \ Microsoft.Cpp.WindowsSDK.targets 46 " what can i do, or is it any new guide to make a full working otserver from zero?? im old school. Thanks
 

William Hughes

New Member
Joined
Oct 12, 2018
Messages
19
Best answers
0
Reaction score
1
Vs 2010 professional install base files . iso

My dropbox.


because everything else I could not get to work and have been trying for some time...I got my hands on this and ill retry the tutorials after I get this installed.

worried it is not safe? someone can scan or whatever I dont have the time for it all. I have better things to do than harm others.

Ok that did not work...getting vs 2015, will post it as well. I WILL help to get these issues sorted for myself and others and will aid in proving the installs needed once I make this work.
 

M0ustafa

Î Àm ŁĕğẹňĎ
Support Team
Joined
Mar 4, 2017
Messages
883
Best answers
93
Reaction score
314
Location
Egypt
I can't understand what do you mean with your 2 replies above, but If you are facing an issue with compiling just create a thread on Support with your errors and as much details as you can then I will help you with your whole compilation process.
 

William Hughes

New Member
Joined
Oct 12, 2018
Messages
19
Best answers
0
Reaction score
1
Annoying stuff, just make sure you get the build tools 142. that can be done in the installer and modify what you are installing and make sure to get the toolsets to be able to compile.
if you can not compile and have an error like this...

Severity Code Description Project File Line Suppression State
Warning MSB8003 Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. brave C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets 366

then you tried to compile with 140 not 142 :D

in the solution explorer. right click on theforgottenserver and click properties.(this is on the right or left side of the gui and contains all the source files)

next go to properties...

configuration properties, general...
inside there see platform toolsets.
make sure you have the correct ones installed to be able to use them.

I can't understand what do you mean with your 2 replies above, but If you are facing an issue with compiling just create a thread on Support with your errors and as much details as you can then I will help you with your whole compilation process.
Well thank you sir, however the problem I face it does not seem others really face. Created probably by my own mistakes and should be fixed by my thinking and I will provide any details I can for others. I do not expect you to think for me, thank you for the offer there. I will only ask if I am stuck for a long time.
 

M0ustafa

Î Àm ŁĕğẹňĎ
Support Team
Joined
Mar 4, 2017
Messages
883
Best answers
93
Reaction score
314
Location
Egypt
Good luck with your compilation, I only wanted to help, I wasn't trying to think for you at all and OFC its always better to try solving issues by yourself as long as you can to get familiar to it and to gain more experience.
 
Top