使用vs2008sp1编译2008工程文件, 最后一步link的时候报错:
代码
------ Build started: Project: emule_vs2008, Configuration: Release Win32 ------
1>Linking...
1>emuleDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDynamicPref::OnDownloaded(void)" (?OnDownloaded@CDynamicPref@@QAEXXZ)
1>emuleDlg.obj : error LNK2001: unresolved external symbol "class CDynamicPref DynamicPref" (?DynamicPref@@3VCDynamicPref@@A)
1>MainTabWnd.obj : error LNK2001: unresolved external symbol "public: __thiscall CDlgMainTabSearch::CDlgMainTabSearch(class CWnd *)" (??0CDlgMainTabSearch@@QAE@PAVCWnd@@@Z)
1>MainTabWnd.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CDlgMainTabSearch::~CDlgMainTabSearch(void)" (??1CDlgMainTabSearch@@UAE@XZ)
1>MainTabWnd.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDlgMainTabSearch::OnMainTabChanged(void)" (?OnMainTabChanged@CDlgMainTabSearch@@QAEXXZ)
1>SearchButton.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDlgMainTabSearch::OpenNewSearchResult(wchar_t const *,enum ESearchType *)" (?OpenNewSearchResult@CDlgMainTabSearch@@QAEXPB_WPAW4ESearchType@@@Z)
1>SearchResultsWnd.obj : error LNK2001: unresolved external symbol "public: __thiscall CFileSearch::~CFileSearch(void)" (??1CFileSearch@@QAE@XZ)
1>SearchResultsWnd.obj : error LNK2001: unresolved external symbol "public: __thiscall CFileSearch::CFileSearch(void)" (??0CFileSearch@@QAE@XZ)
1>SearchResultsWnd.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CFileSearch::Start(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > const &)" (?Start@CFileSearch@@QAE_NABV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)
1>SearchResultsWnd.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDlgMainTabSearch::UpdateEMsClosableStatus(void)" (?UpdateEMsClosableStatus@CDlgMainTabSearch@@QAEXXZ)
1>CmdFuncs.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDlgMainTabSearch::UpdateSearchParam(int,struct SSearchParams *)" (?UpdateSearchParam@CDlgMainTabSearch@@QAEXHPAUSSearchParams@@@Z)
1>.\release/emule.exe : fatal error LNK1120: 11 unresolved externals
[+9]
[0]
[回复]