undead mage
Active Member
So im getting a pugixml error when im trying to compile can somebody please help me out? I made a video of how im compiling and did put it on youtube. It's 03:53 minutes long but it starts at 01:00 xd so it's 02:53 minutes 
Oh sorry
On the github page in the vc14 folder it says: Remove pugixml from the repository. This could have something to do with your error.
It concerns the following commit: https://github.com/otland/forgottenserver/commit/017b6f4fa65ffa6c1d8b82b5fee17163e75a681e
Perhaps pugixml should be installed first as a dependency on your system?
I would suggest downloading pugixml from http://pugixml.org/ "click on the Windows link on the right in Windows/Unix."
Copy the pugixml.hpp from the zip archive in the src folder to your master repository maybe that works. I'm not sure in which folder it should be located so you'll have to figure that out on your own. My hunch is the src folder inside the master repository where you are compiling from.
You have the file, you just have to find out where to put it...
Cannot open include file: 'boost/asio.hpp': No such file or directory
Sorry for the double post but I saw this in another thread:
The wiki for forgottenserver has a entire instruction manual for compiling under windows and it has links to for example the boost libraries and what I think also contains the pugixml libraries (in the sdk?)
Make sure you follow these instructions:
https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows
run this command in cmd:
and post the resultsCode:echo %TFSSDKDir% && echo %BOOST_ROOT%
C:\WINDOWS\system32
C:\WINDOWS\system32
There's your problem. The path didn't get set correctly from the .bat files.Code:C:\WINDOWS\system32 C:\WINDOWS\system32
There's your problem. The path didn't get set correctly from the .bat files.
You can change them manually in Control Panel > System and Security > Advanced system settings(left sidebar) > Environment Variables, look for TFSSDKDir and BOOST_ROOT.
Severity Code Description Project File Line Suppression State
Error MSB6006 "link.exe" exited with code 1104. theforgottenserver C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 637
Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'libboost_system-vc140-mt-1_60.lib' theforgottenserver C:\Users\Oualid\Desktop\Project\10.91\forgottenserver-master (2)\forgottenserver-master\vc14\LINK 1
Reboot and try again
Edit: Path might still be wrong, post results from
againCode:echo %TFSSDKDir% && echo %BOOST_ROOT%
This is what mine looks like btw, but I put both the folders in C:\
Code:C:\tfs-sdk-3.2 C:\boost_1_60_0
%TFSSDKDir% = "tfs-sdk-3.2" folder
%BOOST_ROOT% = "boost_1_60_0" folder
C:\Users\Oualid\Desktop\Project\10.91\tfs-sdk-3.2 (2)\tfs-sdk-3.2
C:\Users\Oualid\Desktop\Project\10.91\boost_1_60_0 (2)\boost_1_60_0
I already tryd that but when I do that it still gives me the error but only this error:It should work now. Try to download new sources so you compile from a new project.
Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'libboost_system-vc140-mt-1_60.lib' theforgottenserver C:\Users\Oualid\Desktop\Project\10.91\forgottenserver-master (2)\forgottenserver-master\vc14\LINK 1