I have downloaded wxWidgets 3.1, compiled wxWidgets 3.1 using the following configure ../configure --enable webview --enable unicode and am trying to compile my project using codeblocks. I have placed the proper wxconfig calls in the right places but I continue to get the following link errors.
Code: Select all
||=== Build: Release in AutoHarp (compiler: GNU GCC Compiler) ===|
Release/AutoHARP/src/AboutDlg.o||In function `wxArgNormalizerWchar<wxString const&>::wxArgNormalizerWchar(wxString const&, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AboutDlg.o||In function `wxEventFunctorMethod<wxEventTypeTag<wxWebViewEvent>, wxEvtHandler, wxEvent, wxEvtHandler>::operator()(wxEvtHandler*, wxEvent&)':|
/usr/include/wx-3.0/wx/event.h|399|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AboutDlg.o||In function `wxEventTableEntryBase::wxEventTableEntryBase(int, int, wxEventFunctor*, wxObject*)':|
/usr/include/wx-3.0/wx/event.h|3156|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AboutDlg.o:(.rodata._ZTV20wxMDIParentFrameBase[_ZTV20wxMDIParentFrameBase]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/AboutDlg.o:(.rodata._ZTV20wxMDIParentFrameBase[_ZTV20wxMDIParentFrameBase]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/AboutDlg.o:(.rodata._ZTV8AboutDlg[_ZTV8AboutDlg]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/AboutDlg.o:(.rodata._ZTV8AboutDlg[_ZTV8AboutDlg]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/AboutDlg.o:(.rodata._ZTV8AboutDlg[_ZTV8AboutDlg]+0x460)||undefined reference to `wxTopLevelWindowGTK::OnInternalIdle()'|
Release/AutoHARP/src/AddItemDlg.o||In function `wxArrayString::Item(unsigned long)':|
/usr/include/wx-3.0/wx/arrstr.h|177|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AddItemDlg.o||In function `wxArgNormalizerWchar<wxString const&>::wxArgNormalizerWchar(wxString const&, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AddItemDlg.o||In function `wxEventFunctorMethod<wxEventTypeTag<wxCommandEvent>, wxEvtHandler, wxEvent, wxEvtHandler>::operator()(wxEvtHandler*, wxEvent&)':|
/usr/include/wx-3.0/wx/event.h|399|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AddItemDlg.o:/usr/include/wx-3.0/wx/event.h|399|more undefined references to `wxTrap()' follow|
Release/AutoHARP/src/AddItemDlg.o:(.rodata._ZTV19wxNavigationEnabledI8wxWindowE[_ZTV19wxNavigationEnabledI8wxWindowE]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/AddItemDlg.o:(.rodata._ZTV19wxNavigationEnabledI8wxWindowE[_ZTV19wxNavigationEnabledI8wxWindowE]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/AddItemDlg.o:(.rodata._ZTV19wxNavigationEnabledI14wxListCtrlBaseE[_ZTV19wxNavigationEnabledI14wxListCtrlBaseE]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/AddItemDlg.o:(.rodata._ZTV19wxNavigationEnabledI14wxListCtrlBaseE[_ZTV19wxNavigationEnabledI14wxListCtrlBaseE]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/AddItemDlg.o:(.rodata._ZTV13AddItemDialog[_ZTV13AddItemDialog]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/AddItemDlg.o:(.rodata._ZTV13AddItemDialog[_ZTV13AddItemDialog]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/AddItemDlg.o:(.rodata._ZTV13AddItemDialog[_ZTV13AddItemDialog]+0x460)||undefined reference to `wxTopLevelWindowGTK::OnInternalIdle()'|
Release/AutoHARP/src/AddSkillDlg.o||In function `wxArgNormalizerWchar<wxString const&>::wxArgNormalizerWchar(wxString const&, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AddSkillDlg.o:(.rodata._ZTV11AddSkillDlg[_ZTV11AddSkillDlg]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/AddSkillDlg.o:(.rodata._ZTV11AddSkillDlg[_ZTV11AddSkillDlg]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/AddSkillDlg.o:(.rodata._ZTV11AddSkillDlg[_ZTV11AddSkillDlg]+0x460)||undefined reference to `wxTopLevelWindowGTK::OnInternalIdle()'|
Release/AutoHARP/src/AddSubSkillDlg.o||In function `wxArgNormalizerWchar<wxString const&>::wxArgNormalizerWchar(wxString const&, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AddSubSkillDlg.o||In function `wxArrayString::Item(unsigned long)':|
/usr/include/wx-3.0/wx/arrstr.h|177|undefined reference to `wxTrap()'|
/usr/include/wx-3.0/wx/arrstr.h|177|undefined reference to `wxTrap()'|
Release/AutoHARP/src/AddSubSkillDlg.o:(.rodata._ZTV15GetSubSkillsDlg[_ZTV15GetSubSkillsDlg]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/AddSubSkillDlg.o:(.rodata._ZTV15GetSubSkillsDlg[_ZTV15GetSubSkillsDlg]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/AddSubSkillDlg.o:(.rodata._ZTV15GetSubSkillsDlg[_ZTV15GetSubSkillsDlg]+0x460)||undefined reference to `wxTopLevelWindowGTK::OnInternalIdle()'|
Release/AutoHARP/src/CDatabaseCls.o||In function `wxArrayString::Item(unsigned long)':|
/usr/include/wx-3.0/wx/arrstr.h|177|undefined reference to `wxTrap()'|
Release/AutoHARP/src/CDatabaseCls.o||In function `wxArgNormalizerWchar<wxString const&>::wxArgNormalizerWchar(wxString const&, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
Release/AutoHARP/src/CDatabaseCls.o||In function `wxArgNormalizer<int>::wxArgNormalizer(int, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|456|undefined reference to `wxTrap()'|
Release/AutoHARP/src/CDatabaseCls.o||In function `wxArgNormalizerWchar<wxString const&>::wxArgNormalizerWchar(wxString const&, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
/usr/include/wx-3.0/wx/strvararg.h|532|undefined reference to `wxTrap()'|
Release/AutoHARP/src/CDatabaseCls.o:/usr/include/wx-3.0/wx/arrstr.h|177|more undefined references to `wxTrap()' follow|
Release/AutoHARP/src/CMixedGenresDlg.o:(.rodata._ZTV15CMixedGenresDlg[_ZTV15CMixedGenresDlg]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/CMixedGenresDlg.o:(.rodata._ZTV15CMixedGenresDlg[_ZTV15CMixedGenresDlg]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/CMixedGenresDlg.o:(.rodata._ZTV15CMixedGenresDlg[_ZTV15CMixedGenresDlg]+0x460)||undefined reference to `wxTopLevelWindowGTK::OnInternalIdle()'|
Release/AutoHARP/src/CNPCGeneratorDlg.o||In function `wxArrayString::Item(unsigned long)':|
/usr/include/wx-3.0/wx/arrstr.h|177|undefined reference to `wxTrap()'|
Release/AutoHARP/src/CNPCGeneratorDlg.o||In function `wxRound(double)':|
/usr/include/wx-3.0/wx/math.h|135|undefined reference to `wxTrap()'|
/usr/include/wx-3.0/wx/math.h|135|undefined reference to `wxTrap()'|
/usr/include/wx-3.0/wx/math.h|135|undefined reference to `wxTrap()'|
Release/AutoHARP/src/CNPCGeneratorDlg.o||In function `wxArgNormalizer<int>::wxArgNormalizer(int, wxFormatString const*, unsigned int)':|
/usr/include/wx-3.0/wx/strvararg.h|456|undefined reference to `wxTrap()'|
Release/AutoHARP/src/CNPCGeneratorDlg.o:/usr/include/wx-3.0/wx/strvararg.h|456|more undefined references to `wxTrap()' follow|
Release/AutoHARP/src/CNPCGeneratorDlg.o:(.rodata._ZTV10wxScrolledI7wxPanelE[_ZTV10wxScrolledI7wxPanelE]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/CNPCGeneratorDlg.o:(.rodata._ZTV10wxScrolledI7wxPanelE[_ZTV10wxScrolledI7wxPanelE]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
Release/AutoHARP/src/CNPCGeneratorDlg.o:(.rodata._ZTV16CNPCGeneratorDlg[_ZTV16CNPCGeneratorDlg]+0x140)||undefined reference to `wxWindowBase::SetVirtualSizeHints(int, int, int, int)'|
Release/AutoHARP/src/CNPCGeneratorDlg.o:(.rodata._ZTV16CNPCGeneratorDlg[_ZTV16CNPCGeneratorDlg]+0x220)||undefined reference to `wxWindowBase::MakeModal(bool)'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build failed: 50 error(s), 0 warning(s) (0 minute(s), 2 second(s)) ===|