Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - giquem

Pages: [1]
1
General / 7 linking errors (LNK2001) compiling emule with vs 2008
« on: July 25, 2014, 02:59:28 pm »
Hellow!. My first post is for ask help. These are the 7 errors:

1>Search.obj : error LNK2001: símbolo externo "public: void __thiscall CKademliaWnd::UpdateSearchGraph(class Kademlia::CLookupHistory *)" (?UpdateSearchGraph@CKademliaWnd@@QAEXPAVCLookupHistory@Kademlia@@@Z) sin resolver

1>KademliaWnd.obj : error LNK2001: símbolo externo "protected: virtual int __thiscall CKademliaWnd::OnCommand(unsigned int,long)" (?OnCommand@CKademliaWnd@@MAEHIJ@Z) sin resolver

1>KademliaWnd.obj : error LNK2001: símbolo externo "protected: void __thiscall CKademliaWnd::UpdateButtonTitle(bool)" (?UpdateButtonTitle@CKademliaWnd@@IAEX_N@Z) sin resolver

1>KademliaWnd.obj : error LNK2001: símbolo externo "protected: void __thiscall CKademliaWnd::OnNMDblclkSearchlist(struct tagNMHDR *,long *)" (?OnNMDblclkSearchlist@CKademliaWnd@@IAEXPAUtagNMHDR@@PAJ@Z) sin resolver

1>KademliaWnd.obj : error LNK2001: símbolo externo "protected: void __thiscall CKademliaWnd::OnListModifiedSearchlist(struct tagNMHDR *,long *)" (?OnListModifiedSearchlist@CKademliaWnd@@IAEXPAUtagNMHDR@@PAJ@Z) sin resolver

1>KademliaWnd.obj : error LNK2001: símbolo externo "public: void __thiscall CKademliaWnd::ShowLookupGraph(bool)" (?ShowLookupGraph@CKademliaWnd@@QAEX_N@Z) sin resolver

1>KadContactListCtrl.obj : error LNK2001: símbolo externo "public: void __thiscall CKademliaWnd::UpdateContactCount(void)" (?UpdateContactCount@CKademliaWnd@@QAEXXZ) sin resolver

1>Release_vc9\emule.exe : fatal error LNK1120: 7 externos sin resolver

All errors are related to "KademliaWnd.h", I think.  But this file is in the project, as "KademliaWnd.cpp", of course! In addition, if I look the files code, I can see this, for example:

KademliaWind.cpp:
BEGIN_MESSAGE_MAP(CKademliaWnd, CResizableDialog)
...
ON_NOTIFY(NM_DBLCLK, IDC_SEARCHLIST, OnNMDblclkSearchlist)
ON_NOTIFY(LVN_ITEMCHANGED, IDC_SEARCHLIST, OnListModifiedSearchlist)

and in KademliaWnd.h:
DECLARE_MESSAGE_MAP()
...
afx_msg void OnNMDblclkSearchlist(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnListModifiedSearchlist(NMHDR *pNMHDR, LRESULT *pResult);

KademliaWnd.cpp includes KademliaWnd.h, of course.
If it can help, I will post all the files involved in this problem. Many thanks in advance.

Pages: [1]
anything