• 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 TFS 1.0/1.1 latest source. 64 and 32 bits. Pics and lots of explanation.

corrupted source, try compiling with vb 2015.
 
Hey Guys, i have a big problem, i apologize for my english. Anyway i think did anything fine and still have some problem. Its not all i have 106 erros :( Somebody can help me?
b_dy.png
 
ERROR DEBUG AFTER 10-20 MIN
'theforgottenserver.exe' (Win32): Loaded 'C:\zserver\theforgottenserver.exe'. Symbols loaded.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\zserver\lua51.dll'. Module was built without symbols.
'theforgottenserver.exe' (Win32): Loaded 'C:\zserver\msvcr120.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\zserver\libmysql.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\zserver\msvcp120.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\nlaapi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\NapiNSP.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\pnrpnsp.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\winrnr.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\rasadhlp.dll'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\WSHTCPIP.DLL'. Cannot find or open the PDB file.
'theforgottenserver.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file.
The thread 0x8fd0 has exited with code 0 (0x0).
The thread 0x9cc8 has exited with code 0 (0x0).
Unhandled exception at 0x000007FEFD43B3DD (KernelBase.dll) in theforgottenserver.exe: 0xE24C4A04.

First-chance exception at 0x000007FEE6DA60A9 (msvcr120.dll) in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x000000000000004B.

Unhandled exception at 0x000007FEE6DA60A9 (msvcr120.dll) in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x000000000000004B.

Microsoft Visual Studio C Runtime Library has detected a fatal error in theforgottenserver.exe.

Press Break to debug the program or Continue to terminate the program.

First-chance exception at 0x000007FEE6DA60A9 (msvcr120.dll) in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x000000000000004B.

Unhandled exception at 0x000007FEE6DA60A9 (msvcr120.dll) in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x000000000000004B.

First-chance exception at 0x000007FEE6DA60A9 (msvcr120.dll) in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x000000000000004B.

Unhandled exception at 0x000007FEE6DA60A9 (msvcr120.dll) in theforgottenserver.exe: 0xC0000005: Access violation reading location 0x000000000000004B.

The thread 0x9cb4 has exited with code 3 (0x3).
The thread 0x9c9c has exited with code 3 (0x3).
The thread 0x9650 has exited with code 3 (0x3).
The thread 0x9cbc has exited with code 3 (0x3).
The thread 0x9cb0 has exited with code 3 (0x3).
The thread 0x97cc has exited with code 3 (0x3).
The program '[40088] theforgottenserver.exe' has exited with code 3 (0x3).
 
i got this error while compile lol !!
1> otpch.cpp
1>C:\local\boost_1_59_0\boost/asio/detail/config.hpp(227): warning C4005: 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT': macro redefinition
1> C:\local\boost_1_59_0\boost/asio/detail/config.hpp(213): note: see previous definition of 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT'

1> wildcardtree.cpp
1>mpir.lib(memory.obj) : error LNK2001: unresolved external symbol __imp___iob_func
1>mpir.lib(assert.obj) : error LNK2001: unresolved external symbol __imp___iob_func
1>D:\TheForgottenServer\forgottenserver-master\vc14\x64\Release\theforgottenserver.exe : fatal error LNK1120: 1 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
??
 
----- Rebuild All started: Project: theforgottenserver, Configuration: Release Win32 ------
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...".
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
Error 1 error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets 64 5 theforgottenserver
 
Error:

Code:
1>c:\users\main\desktop\tibelite\src\items.h(122): error C2610: 'ItemType::ItemType(ItemType &&)' : is not a special member function which can be defaulted (..\src\commands.cpp)
1>c:\users\main\desktop\tibelite\src\items.h(123): error C2610: 'ItemType &ItemType::operator =(ItemType &&)' : is not a special member function which can be defaulted (..\src\commands.cpp)

The lines of code:
Code:
ItemType(ItemType&& other) = default;
        ItemType& operator=(ItemType&& other) = default;

Anyone have any ideas?
 
Im getting this error.
Can someone help?

Error C2280 'std::atomic<boost::lockfree::detail::tagged_index>::atomic(void) noexcept': attempting to reference a deleted function (compiling source file ..\src\outputmessage.cpp) theforgottenserver E:\boost\boost\lockfree\stack.hpp 139

Im compiling TFS 1.2 with windows 10 and mvsc 2015, the Lundrial version "[10.90 + Cast] Tfs 1.2 (custom modifications) + Reward Chest"

Thank you.

EDIT: I updated the boost libraries to 1.60 and now I got this error.

Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'libboost_system-vc140-mt-1_60.lib' theforgottenserver E:\OTSERVER\OT\forgottenserver master\vc14\LINK 1

Please help me
 
Last edited:
I've used this: https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows with the instructions in this thread and it worked for me.

Yeah, did too, but when executing the forgotten server after compiling correctly, does abolutely nothing, it blocks my folder so I cant close it and keeps thinking all the time but it doesn't start the server.
I dont know what is going on, says compiled fine without a single error but when opening "forgottenserver.exe" which I moved to the master folder it does nothing else and keeps blocking my folder. Im using windows 10, has to be run in compatibility mode or something? I dont know what to do.
 
Last edited:
I don't know then, I've windows 10 and mvsc 2015 too.
Can you please compile this [10.90 + Cast] Tfs 1.2 (custom modifications) + Reward Chest for me to see if it works ? as you have win 10 its going to clear lots of things to me.
Thank you! Rep
 
Back
Top