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

Listo

Member
Joined
Aug 17, 2008
Messages
222
Best answers
0
Reaction score
0
@up
Got exactly the same problem
 

Nekiro

Support Team
Support Team
Joined
Sep 7, 2015
Messages
1,901
Best answers
81
Reaction score
688
corrupted source, try compiling with vb 2015.
 

pomarancz

New Member
Joined
Oct 18, 2015
Messages
1
Best answers
0
Reaction score
0
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?
 

fleszu_pl

Member
Joined
Jul 8, 2011
Messages
93
Best answers
0
Reaction score
1
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).
 

EvilSkillz

Back
Joined
Jul 12, 2012
Messages
1,719
Best answers
0
Reaction score
300
Location
Egypt - Cairo
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 ==========
??
 

CforMe

C how it works
Joined
Nov 26, 2015
Messages
16
Best answers
0
Reaction score
1
Error: Unable to open file lua.hpp
 

Argenis

New Member
Joined
Dec 21, 2008
Messages
11
Best answers
0
Reaction score
0
----- 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 ==========
 

Argenis

New Member
Joined
Dec 21, 2008
Messages
11
Best answers
0
Reaction score
0
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
 

Argenis

New Member
Joined
Dec 21, 2008
Messages
11
Best answers
0
Reaction score
0
Error 1 error C1083: Cannot open include file: 'boost/asio.hpp'
 

Itutorial

Premium User
Premium User
Joined
Dec 23, 2014
Messages
1,540
Best answers
35
Reaction score
376
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?
 

maxim

New Member
Joined
Oct 9, 2012
Messages
20
Best answers
0
Reaction score
0
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:

Justical

Server developer
Joined
Oct 17, 2015
Messages
12
Best answers
0
Reaction score
3

maxim

New Member
Joined
Oct 9, 2012
Messages
20
Best answers
0
Reaction score
0
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:

Justical

Server developer
Joined
Oct 17, 2015
Messages
12
Best answers
0
Reaction score
3
I don't know then, I've windows 10 and mvsc 2015 too.
 

maxim

New Member
Joined
Oct 9, 2012
Messages
20
Best answers
0
Reaction score
0
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
 
Top