LCKB
Client compilen error - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+----- Thread: Client compilen error (/showthread.php?tid=4824)

Pages: 1 2


- Matt Hias - 10-18-2021


how can i fix this.

 

1>SessionState.obj : error LNK2019: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::open(void)" (?open@GuildTaxHistoryUI@@QAEXXZ) referenced in function __catch$?ReceiveGuildMessage@CSessionState@@QAEXPAVCNetworkMessage@@@Z$0

1>SessionState.obj : error LNK2019: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::AddTakeInfo(int,int,__int64)" (?AddTakeInfo@GuildTaxHistoryUI@@QAEXHH_J@Z) referenced in function __catch$?ReceiveGuildMessage@CSessionState@@QAEXPAVCNetworkMessage@@@Z$0



1>SessionState.obj : error LNK2019: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::ResetTakeInfo(void)" (?ResetTakeInfo@GuildTaxHistoryUI@@QAEXXZ) referenced in function __catch$?ReceiveGuildMessage@CSessionState@@QAEXPAVCNetworkMessage@@@Z$0




- Tommy - 10-18-2021


What source you are using ?




- Matt Hias - 10-18-2021


The by pwesty from these forum




- Scura - 10-18-2021


The problem simply means that you have the declaration of that function, but not the definition. 

 

public: void __thiscall GuildTaxHistoryUI::open(void)

 

Don't have the source under eyes atm, but do you have make some mess with the GuildTaxHistoryUI? 




- Matt Hias - 10-19-2021


I hope I understood you correctly.

You mean I need to change the file?

I have not touched the file to this day only checked if it is present

Best regards,




- Joker - 10-19-2021



1 hour ago, Matt Hias said:




I hope I understood you correctly.



You mean I need to change the file?



I have not touched the file to this day only checked if it is present



Best regards,




You have to define the function correctly. Not changing the Files. 




- Matt Hias - 10-19-2021


@joker Yes, but where exactly.

I'm not quite behind it yet.

Greetings




- Joker - 10-19-2021


?open@GuildTaxHistoryUI@@QAEXXZ

for me, it looks like you compared a June to Nov source and failed. 

Maybe try

GuildTaxHistory.h

    void AddTakeInfo(int nMonth, int nDay, LONGLONG llMoney);
    void ResetTakeInfo();

 

SessionState.h

void ReceiveGuildMessage(CNetworkMessage *istr);

 




- Matt Hias - 10-19-2021


Both entries already exist.




- Desarija - 10-19-2021


Clean source, or did you copy stuff from june to nov/nov to june as joker said?