Re: [Audacity-devel] Promised Toolbar Dock patch
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: <Mar...@ao...> - 2005-11-23 22:17:37
|
Leland I resolved the wx errors by remembering what we did last time - setting the C/C++ Language option 'Treat wchar_t as Built-in Type' to 'Yes' in the Audacity project. Doh! There are now 10 remaining errors: Menus.obj : error LNK2019: unresolved external symbol "public: void __thiscall ToolsToolBar::SetCurrentTool(int,bool)" (_?SetCurrentTool@ToolsToolBar@@QAEXH_N@Z_ (mailto:?SetCurrentTool@ToolsToolBar@@QAEXH_N@Z) ) referenced in function "public: void __thiscall AudacityProject::OnSelectTool(void)" (_?OnSelectTool@AudacityProject@@QAEXXZ_ (mailto:?OnSelectTool@AudacityProject@@QAEXXZ) ) TrackPanel.obj : error LNK2001: unresolved external symbol "public: void __thiscall ToolsToolBar::SetCurrentTool(int,bool)" (_?SetCurrentTool@ToolsToolBar@@QAEXH_N@Z_ (mailto:?SetCurrentTool@ToolsToolBar@@QAEXH_N@Z) ) Menus.obj : error LNK2019: unresolved external symbol "public: int __thiscall ToolsToolBar::GetCurrentTool(void)" (_?GetCurrentTool@ToolsToolBar@@QAEHXZ_ (mailto:?GetCurrentTool@ToolsToolBar@@QAEHXZ) ) referenced in function "public: void __thiscall AudacityProject::OnNextTool(void)" (_?OnNextTool@AudacityProject@@QAEXXZ_ (mailto:?OnNextTool@AudacityProject@@QAEXXZ) ) Project.obj : error LNK2001: unresolved external symbol "public: int __thiscall ToolsToolBar::GetCurrentTool(void)" (_?GetCurrentTool@ToolsToolBar@@QAEHXZ_ (mailto:?GetCurrentTool@ToolsToolBar@@QAEHXZ) ) TrackPanel.obj : error LNK2001: unresolved external symbol "public: int __thiscall ToolsToolBar::GetCurrentTool(void)" (_?GetCurrentTool@ToolsToolBar@@QAEHXZ_ (mailto:?GetCurrentTool@ToolsToolBar@@QAEHXZ) ) ToolBar.obj : error LNK2019: unresolved external symbol "public: __thiscall ToolsToolBar::ToolsToolBar(class wxWindow *)" (_??0ToolsToolBar@@QAE@PAVwxWindow@@@Z_ (mailto:??0ToolsToolBar@@QAE@PAVwxWindow@@@Z) ) referenced in function "public: __thiscall ToolBarDock::ToolBarDock(class wxWindow *)" (_??0ToolBarDock@@QAE@PAVwxWindow@@@Z_ (mailto:??0ToolBarDock@@QAE@PAVwxWindow@@@Z) ) TrackPanel.obj : error LNK2019: unresolved external symbol "public: bool __thiscall ToolsToolBar::GetMultiToolDown(void)" (_?GetMultiToolDown@ToolsToolBar@@QAE_NXZ_ (mailto:?GetMultiToolDown@ToolsToolBar@@QAE_NXZ) ) referenced in function "private: void __thiscall TrackPanel::HandleCursor(class wxMouseEvent &)" (_?HandleCursor@TrackPanel@@AAEXAAVwxMouseEvent@@@Z_ (mailto:?HandleCursor@TrackPanel@@AAEXAAVwxMouseEvent@@@Z) ) TrackPanel.obj : error LNK2019: unresolved external symbol "public: wchar_t const * __thiscall ToolsToolBar::GetMessageForTool(int)" (_?GetMessageForTool@ToolsToolBar@@QAEPB_WH@Z_ (mailto:?GetMessageForTool@ToolsToolBar@@QAEPB_WH@Z) ) referenced in function "private: void __thiscall TrackPanel::HandleCursor(class wxMouseEvent &)" (_?HandleCursor@TrackPanel@@AAEXAAVwxMouseEvent@@@Z_ (mailto:?HandleCursor@TrackPanel@@AAEXAAVwxMouseEvent@@@Z) ) TrackPanel.obj : error LNK2019: unresolved external symbol "public: bool __thiscall ToolsToolBar::GetDrawToolDown(void)" (_?GetDrawToolDown@ToolsToolBar@@QAE_NXZ_ (mailto:?GetDrawToolDown@ToolsToolBar@@QAE_NXZ) ) referenced in function "private: void __thiscall TrackPanel::DrawTracks(class wxDC *)" (_?DrawTracks@TrackPanel@@AAEXPAVwxDC@@@Z_ (mailto:?DrawTracks@TrackPanel@@AAEXPAVwxDC@@@Z) ) TrackPanel.obj : error LNK2019: unresolved external symbol "public: bool __thiscall ToolsToolBar::GetEnvelopeToolDown(void)" (_?GetEnvelopeToolDown@ToolsToolBar@@QAE_NXZ_ (mailto:?GetEnvelopeToolDown@ToolsToolBar@@QAE_NXZ) ) referenced in function "private: void __thiscall TrackPanel::DrawTracks(class wxDC *)" (_?DrawTracks@TrackPanel@@AAEXPAVwxDC@@@Z_ (mailto:?DrawTracks@TrackPanel@@AAEXPAVwxDC@@@Z) ) Martyn In a message dated 23/11/2005 06:15:07 GMT Standard Time, aud...@ho... writes: Oh boy...I hate unresolved references. :-) But, my guess is that you may need to do a full rebuild of Audacity. It probably didn't pick up the changes to the project file. At least that's what the ToolsToolBar externals seem to indicate. I've seen the wx ones when I had a mismatch between Audacity and wx. I've resolved those by rebuilding wx and Audacity, but I'd try the full rebuild of Audacity first. Thanks for trying it though. Leland ... |