Ubuntu 14.10
GCC 5.3
when on the function OnInit() I calling
wxRichTextBuffer::AddHandler(new wxRichTextHTMLHandler);
wxRichTextBuffer::AddHandler(new wxRichTextXMLHandler);
I get errors like this: this file propdlg.cpp is the system file, what can I do now ???
Code: Select all
propdlg.cpp:(.text+0x8de): undefined reference to `vtable for wxChoicebook'
propdlg.cpp:(.text+0x8e9): undefined reference to `vtable for wxChoicebook'
propdlg.cpp:(.text+0x900): undefined reference to `wxChoicebook::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)'
propdlg.cpp:(.text+0xa09): undefined reference to `vtable for wxToolbook'
propdlg.cpp:(.text+0xa14): undefined reference to `vtable for wxToolbook'
propdlg.cpp:(.text+0xa2d): undefined reference to `wxToolbook::Init()'
propdlg.cpp:(.text+0xa54): undefined reference to `wxToolbook::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)'
propdlg.cpp:(.text+0xb69): undefined reference to `vtable for wxListbook'
propdlg.cpp:(.text+0xb74): undefined reference to `vtable for wxListbook'
propdlg.cpp:(.text+0xb8b): undefined reference to `wxListbook::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)'
propdlg.cpp:(.text+0xcc5): undefined reference to `vtable for wxTreebook'
propdlg.cpp:(.text+0xcd0): undefined reference to `vtable for wxTreebook'
propdlg.cpp:(.text+0xcdd): undefined reference to `wxTreebook::Init()'
propdlg.cpp:(.text+0xd04): undefined reference to `wxTreebook::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)'
collect2: error: ld returned 1 exit status