Re: [Audacity-devel] Build error (linux) (was: Keyboard Preferences)
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Steve t. F. <ste...@gm...> - 2013-10-02 15:10:28
|
On 2 October 2013 14:12, James Crook <cr...@in...> wrote: > Try now. > > I added a #include <wx/button.h> Thanks James, Revision 12630 builds OK. Steve > > --James. > > On 02/10/2013 13:13, Steve the Fiddle wrote: >> I'm getting a build error with r12628 >> >> In file included from prefs/KeyConfigPrefs.cpp:37:0: >> prefs/KeyConfigPrefs.h:144:7: warning: extra tokens at end of #endif >> directive [enabled by default] >> prefs/KeyConfigPrefs.h: In constructor >> 'KeyConfigPrefs::KeyConfigPrefs(wxWindow*)': >> prefs/KeyConfigPrefs.h:68:16: warning: 'KeyConfigPrefs::mFilter' will >> be initialized after [-Wreorder] >> prefs/KeyConfigPrefs.h:64:16: warning: 'wxTextCtrl* >> KeyConfigPrefs::mKey' [-Wreorder] >> prefs/KeyConfigPrefs.cpp:74:1: warning: when initialized here [-Wreorder] >> prefs/KeyConfigPrefs.cpp: In member function 'void >> KeyConfigPrefs::OnSelected(wxCommandEvent&)': >> prefs/KeyConfigPrefs.cpp:581:8: error: invalid use of incomplete type >> 'class wxButton' >> In file included from /usr/include/wx-2.8/wx/generic/printps.h:16:0, >> from /usr/include/wx-2.8/wx/print.h:33, >> from /usr/include/wx-2.8/wx/docview.h:24, >> from prefs/../commands/../AudacityApp.h:22, >> from prefs/../commands/CommandManager.h:20, >> from prefs/../Project.h:28, >> from prefs/KeyConfigPrefs.cpp:30: >> /usr/include/wx-2.8/wx/prntbase.h:27:28: error: forward declaration of >> 'class wxButton' >> prefs/KeyConfigPrefs.cpp:582:10: error: invalid use of incomplete type >> 'class wxButton' >> In file included from /usr/include/wx-2.8/wx/generic/printps.h:16:0, >> from /usr/include/wx-2.8/wx/print.h:33, >> from /usr/include/wx-2.8/wx/docview.h:24, >> from prefs/../commands/../AudacityApp.h:22, >> from prefs/../commands/CommandManager.h:20, >> from prefs/../Project.h:28, >> from prefs/KeyConfigPrefs.cpp:30: >> /usr/include/wx-2.8/wx/prntbase.h:27:28: error: forward declaration of >> 'class wxButton' >> make[1]: *** [prefs/KeyConfigPrefs.o] Error 1 >> >> Steve >> > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel |