Hello all
I only need to know i somebody already build audacity with wxGTK with --enable-stl flag (I need this flag turned on), they were some posts : http://audacityteam.org/forum/viewtopic.php?f=19&t=9&start=0&hilit=stl
And I fall also in to this :
make[1]: Entering directory `/usr/src/packages/BUILD/audacity-src-1.3.7/src'
g++ -c -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -I../lib-src/portmixer/include -I../l
In file included from BlockFile.h:19,
from BlockFile.cpp:54:
WaveTrack.h:245: error: type 'WaveClipList' is not derived from type 'WaveTrack'
WaveTrack.h:245: error: expected ';' before '*' token
WaveTrack.h:249: error: expected `;' before 'WaveClip'
make[1]: *** [BlockFile.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/audacity-src-1.3.7/src'
make: *** [audacity] Error 2
→ so i rewrite all ::Node* to ::compatibility_iterator, however at linking process I fall into this :
FreqWindow.o: In function `wxObjectList::Clear()':
FreqWindow.cpp:(.text._ZN12wxObjectList5ClearEv[wxObjectList::Clear()]+0x32): undefined reference to `_WX_LIST_HELPER_wxObjectList::DeleteFunction(wxObject*)'
ShuttleGui.o: In function `wxMenuItemList::Clear()':
ShuttleGui.cpp:(.text._ZN14wxMenuItemList5ClearEv[wxMenuItemList::Clear()]+0x32): undefined reference to `_WX_LIST_HELPER_wxMenuItemList::DeleteFunction(wxMenuItem*)'
Snap.o: In function `SnapPointArray::Add(SnapPoint*)':
Snap.cpp:(.text._ZN14SnapPointArray3AddEP9SnapPoint[SnapPointArray::Add(SnapPoint*)]+0x24): undefined reference to `wxBaseArrayPtrVoid::Add(void const*, int (*)(void const**, voidconst**))'
Tags.o: In function `wxSortedArrayStringBase::Add(wxString)':
Tags.cpp:(.text._ZN23wxSortedArrayStringBase3AddE8wxString[wxSortedArrayStringBase::Add(wxString)]+0x34): undefined reference to `wxBaseArrayStringBase::Add(wxString, int (*)(wxString*, wxString*))'
export/ExportPCM.o: In function `wxArrayStringBase::Index(wxString, bool) const':
ExportPCM.cpp:(.text._ZNK17wxArrayStringBase5IndexE8wxStringb[wxArrayStringBase::Index(wxString, bool) const]+0x32): undefined reference to `wxBaseArrayStringBase::Index(wxString,bool) const'
prefs/KeyConfigPrefs.o:(.rodata._ZTV14SysKeyTextCtrl[vtable for SysKeyTextCtrl]+0x718): undefined reference to `non-virtual thunk to wxTextCtrlBase::overflow(int)'
widgets/ExpandingToolBar.o: In function `wxWindowList::Clear()':
ExpandingToolBar.cpp:(.text._ZN12wxWindowList5ClearEv[wxWindowList::Clear()]+0x32): undefined reference to `_WX_LIST_HELPER_wxWindowList::DeleteFunction(wxWindow*)'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x648): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLWindowTitle(wxString const&)'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x650): undefined reference to `non-virtual thunk to wxHtmlWindow::OnHTMLLinkClicked(wxHtmlLinkInfo const&)'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x658): undefined reference to `non-virtual thunk to wxHtmlWindow::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x660): undefined reference to `non-virtual thunk to wxHtmlWindow::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x668): undefined reference to `non-virtual thunk to wxHtmlWindow::GetHTMLWindow()'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x670): undefined reference to `non-virtual thunk to wxHtmlWindow::GetHTMLBackgroundColour() const'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x678): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLBackgroundColour(wxColour const&)'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x680): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLBackgroundImage(wxBitmap const&)'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x688): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLStatusText(wxString const&)'
widgets/HtmlWindow.o:(.rodata._ZTV10HtmlWindow[vtable for HtmlWindow]+0x690): undefined reference to `non-virtual thunk to wxHtmlWindow::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x648): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLWindowTitle(wxString const&)'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x650): undefined reference to `non-virtual thunk to wxHtmlWindow::OnHTMLLinkClicked(wxHtmlLinkInfo const&)'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x658): undefined reference to `non-virtual thunk to wxHtmlWindow::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x660): undefined reference to `non-virtual thunk to wxHtmlWindow::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x668): undefined reference to `non-virtual thunk to wxHtmlWindow::GetHTMLWindow()'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x670): undefined reference to `non-virtual thunk to wxHtmlWindow::GetHTMLBackgroundColour() const'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x678): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLBackgroundColour(wxColour const&)'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x680): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLBackgroundImage(wxBitmap const&)'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x688): undefined reference to `non-virtual thunk to wxHtmlWindow::SetHTMLStatusText(wxString const&)'
widgets/LinkingHtmlWindow.o:(.rodata._ZTV17LinkingHtmlWindow[vtable for LinkingHtmlWindow]+0x690): undefined reference to `non-virtual thunk to wxHtmlWindow::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const'
widgets/MultiDialog.o: In function `wxRadioBoxButtonsInfoList::Clear()':
MultiDialog.cpp:(.text._ZN25wxRadioBoxButtonsInfoList5ClearEv[wxRadioBoxButtonsInfoList::Clear()]+0x32): undefined reference to `_WX_LIST_HELPER_wxRadioBoxButtonsInfoList::DeleteFunction(wxGTKRadioButtonInfo*)'
effects/ladspa/LoadLadspa.o: In function `LoadLadspaEffect(wxSortedArrayString&, wxString, DL_Array&)':
LoadLadspa.cpp:(.text+0x2fa): undefined reference to `wxSortedArrayString::Index(wchar_t const*, bool, bool) const'
effects/ladspa/LadspaEffect.o:(.rodata._ZTV8TextCtrl[vtable for TextCtrl]+0x718): undefined reference to `non-virtual thunk to wxTextCtrlBase::overflow(int)'
collect2: ld returned 1 exit status
could anybody help me ?
audacity 1.3.7, wxGTK 2.8.9
audacity build without --enable-stl for wxGTK run without problem
thanks …