Errors in Building Audacity for Windows 7

Thanks for your replies firstly.
When I compliling audacity, I got these errors below, please help me.

1>filedialog.lib(FileDialogPrivate.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxModalDialogHook::wxModalDialogHook(void)" (__imp_??0wxModalDialogHook@@QAE@XZ) referenced in function "public: __thiscall FileDialog::Disabler::Disabler(void)" (??0Disabler@FileDialog@@QAE@XZ)
1>filedialog.lib(FileDialogPrivate.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxFileCtrlEvent::wxFileCtrlEvent(int,class wxObject *,int)" (__imp_??0wxFileCtrlEvent@@QAE@HPAVwxObject@@H@Z) referenced in function "private: virtual void __thiscall FileDialog::MSWOnFolderChange(struct HWND__ *,struct tagOFNW *)" (?MSWOnFolderChange@FileDialog@@EAEXPAUHWND__@@PAUtagOFNW@@@Z)
1>filedialog.lib(FileDialogPrivate.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxFileCtrlEvent::SetFiles(class wxArrayString const &)" (__imp_?SetFiles@wxFileCtrlEvent@@QAEXABVwxArrayString@@@Z) referenced in function "private: virtual void __thiscall FileDialog::MSWOnSelChange(struct HWND__ *,struct tagOFNW *)" (?MSWOnSelChange@FileDialog@@EAEXPAUHWND__@@PAUtagOFNW@@@Z)
1>filedialog.lib(FileDialogPrivate.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxFileCtrlEvent::SetDirectory(class wxString const &)" (__imp_?SetDirectory@wxFileCtrlEvent@@QAEXABVwxString@@@Z) referenced in function "private: virtual void __thiscall FileDialog::MSWOnFolderChange(struct HWND__ *,struct tagOFNW *)" (?MSWOnFolderChange@FileDialog@@EAEXPAUHWND__@@PAUtagOFNW@@@Z)
1>filedialog.lib(FileDialogPrivate.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxFileCtrlEvent::SetFilterIndex(int)" (__imp_?SetFilterIndex@wxFileCtrlEvent@@QAEXH@Z) referenced in function "private: virtual void __thiscall FileDialog::MSWOnTypeChange(struct HWND__ *,struct tagOFNW *)" (?MSWOnTypeChange@FileDialog@@EAEXPAUHWND__@@PAUtagOFNW@@@Z)
1>filedialog.lib(FileDialogPrivate.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxFileCtrlEvent::~wxFileCtrlEvent(void)" (__imp_??1wxFileCtrlEvent@@UAE@XZ) referenced in function "private: virtual void __thiscall FileDialog::MSWOnFolderChange(struct HWND__ *,struct tagOFNW *)" (?MSWOnFolderChange@FileDialog@@EAEXPAUHWND__@@PAUtagOFNW@@@Z)
1>filedialog.lib(FileDialogPrivate.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxFileCtrlEvent> const wxEVT_FILECTRL_SELECTIONCHANGED" (__imp_?wxEVT_FILECTRL_SELECTIONCHANGED@@3V?$wxEventTypeTag@VwxFileCtrlEvent@@@@B)
1>filedialog.lib(FileDialogPrivate.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxFileCtrlEvent> const wxEVT_FILECTRL_FOLDERCHANGED" (__imp_?wxEVT_FILECTRL_FOLDERCHANGED@@3V?$wxEventTypeTag@VwxFileCtrlEvent@@@@B)
1>E:\Project\audacity\win\Debug\Audacity.exe : fatal error LNK1120: 278 unresolved externals

Which source code are you using?
Did WxWidgets build successfully, and have you successfully built any of the sample/demo applications to confirm that it is working correctly?
Which version of WxWidgets did you build?

Have you read the “Getting Started” box at the top of http://wiki.audacityteam.org/wiki/Developing_On_Windows?


Gale