• 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 LNK2019 errors killing me

Guiaki

Member
Joined
Jan 3, 2011
Messages
137
Reaction score
8
Hello, I have recently tried to be compiling OTServ TFS Trunk r5918 and also branch r5925.

I have been following instructions from Vittyn's compilation tutorial, but it seen kinda outdated, I have fixed the maximun bugs I could.

When I compile trunk r5918 I get this:
Code:
1>luascript.obj : error LNK2019: unresolved external symbol _luaJIT_setmode referenced in function "public: virtual bool __thiscall LuaInterface::initState(void)" (?initState@LuaInterface@@UAE_NXZ)
1>C:\Users\GUIAKI\Documents\trunk.r5918\vc10\Debug\tfs.exe : fatal error LNK1120: 1 unresolved externals

When I compile branch r5925 I get this:
Code:
1>item.obj : error LNK2019: unresolved external symbol "public: __thiscall DepotLocker::DepotLocker(unsigned short)" (??0DepotLocker@@QAE@G@Z) referenced in function "public: static class Item * __cdecl Item::CreateItem(unsigned short,unsigned short)" (?CreateItem@Item@@SAPAV1@GG@Z)
1>player.obj : error LNK2001: unresolved external symbol "public: __thiscall DepotLocker::DepotLocker(unsigned short)" (??0DepotLocker@@QAE@G@Z)
1>luascript.obj : error LNK2019: unresolved external symbol _luaJIT_setmode referenced in function "public: virtual bool __thiscall LuaInterface::initState(void)" (?initState@LuaInterface@@UAE_NXZ)
1>player.obj : error LNK2019: unresolved external symbol "public: __thiscall Inbox::Inbox(unsigned short)" (??0Inbox@@QAE@G@Z) referenced in function "public: __thiscall Player::Player(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class ProtocolGame *)" (??0Player@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVProtocolGame@@@Z)
1>player.obj : error LNK2019: unresolved external symbol "public: void __thiscall DepotLocker::removeInbox(class Inbox *)" (?removeInbox@DepotLocker@@QAEXPAVInbox@@@Z) referenced in function "public: virtual __thiscall Player::~Player(void)" (??1Player@@UAE@XZ)
1>C:\Users\GUIAKI\Documents\trunk.r5918\vc10\Debug\tfs.exe : fatal error LNK1120: 4 unresolved externals

Well what I can say is that I'm freaking out with this massive amount of bugs, I really would beg for an fix, please, I have bought premium OTLand at December and still I couldn't compile, I would like to compile before re-buying premium here.

Thanks in advance.
 
Back
Top