Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX 10.14 Mojave - Undefined symbols for architecture x86_64 #259

Open
idontreallywolf opened this issue Feb 17, 2019 · 3 comments
Open

Comments

@idontreallywolf
Copy link

installed required libs but at the end it gave the following error

Undefined symbols for architecture x86_64:
  "wxAuiManager::SavePaneInfo(wxAuiPaneInfo&)", referenced from:
      GUI::SavePerspective() in gui.cpp.o
  "wxBaseArrayInt::wxBaseArrayInt()", referenced from:
      wxListBox::wxListBox(wxWindow*, int, wxPoint const&, wxSize const&, int, wxString const*, long, wxValidator const&, wxString const&) in common_windows.cpp.o
      wxTextAttr::wxTextAttr() in common_windows.cpp.o
      wxTextAttr::wxTextAttr() in dat_debug_view.cpp.o
      wxTextAttr::wxTextAttr() in find_item_window.cpp.o
      wxListBox::wxListBox(wxWindow*, int, wxPoint const&, wxSize const&, int, wxString const*, long, wxValidator const&, wxString const&) in gui.cpp.o
      wxTextAttr::wxTextAttr() in gui.cpp.o
      wxGrid::wxGrid(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&) in live_tab.cpp.o
      ...
  "wxBaseArrayInt::~wxBaseArrayInt()", referenced from:
      AboutWindow::AboutWindow(wxWindow*) in about_window.cpp.o
      wxFileDialogBase::wxFileDialogBase() in application.cpp.o
      BrowseTileWindow::BrowseTileWindow(wxWindow*, Tile*, wxPoint) in browse_tile_window.cpp.o
      ClientVersion::loadValidPaths() in client_version.cpp.o
      MapPropertiesWindow::MapPropertiesWindow(wxWindow*, MapTab*, Editor&) in common_windows.cpp.o
      ImportMapWindow::ImportMapWindow(wxWindow*, Editor&) in common_windows.cpp.o
      ExportMiniMapWindow::OnClickBrowse(wxCommandEvent&) in common_windows.cpp.o
      ...
  "wxStaticBoxSizer::RecalcSizes()", referenced from:
      vtable for PositionCtrl in positionctrl.cpp.o
  "wxBaseArrayPtrVoid::Add(void const*, unsigned long)", referenced from:
      SortableListBox::DoSort() in common_windows.cpp.o
  "wxBaseArrayPtrVoid::Clear()", referenced from:
      wxBookCtrlBase::DeleteAllPages() in editor_tabs.cpp.o
      wxBookCtrlBase::DeleteAllPages() in palette_brushlist.cpp.o
      wxBookCtrlBase::DeleteAllPages() in palette_window.cpp.o
  "wxBaseArrayPtrVoid::wxBaseArrayPtrVoid()", referenced from:
      wxAuiPaneInfo::wxAuiPaneInfo() in application.cpp.o
      wxAuiPaneInfo::wxAuiPaneInfo(wxAuiPaneInfo const&) in application.cpp.o
      wxListBox::wxListBox(wxWindow*, int, wxPoint const&, wxSize const&, int, wxString const*, long, wxValidator const&, wxString const&) in common_windows.cpp.o
      SortableListBox::DoSort() in common_windows.cpp.o
      wxChoice::wxChoice(wxWindow*, int, wxPoint const&, wxSize const&, int, wxString const*, long, wxValidator const&, wxString const&) in common_windows.cpp.o
      wxChoice::wxChoice(wxWindow*, int, wxPoint const&, wxSize const&, wxArrayString const&, long, wxValidator const&, wxString const&) in common_windows.cpp.o
      wxBookCtrlBase::wxBookCtrlBase() in editor_tabs.cpp.o
      ...
  "wxBaseArrayPtrVoid::~wxBaseArrayPtrVoid()", referenced from:
      wxListBox::wxListBox(wxWindow*, int, wxPoint const&, wxSize const&, int, wxString const*, long, wxValidator const&, wxString const&) in common_windows.cpp.o
      SortableListBox::DoSort() in common_windows.cpp.o
      wxChoice::wxChoice(wxWindow*, int, wxPoint const&, wxSize const&, int, wxString const*, long, wxValidator const&, wxString const&) in common_windows.cpp.o
      wxChoice::wxChoice(wxWindow*, int, wxPoint const&, wxSize const&, wxArrayString const&, long, wxValidator const&, wxString const&) in common_windows.cpp.o
      wxAuiNotebook::wxAuiNotebook(wxWindow*, int, wxPoint const&, wxSize const&, long) in editor_tabs.cpp.o
      wxNavigationEnabled<wxBookCtrlBase>::wxNavigationEnabled() in editor_tabs.cpp.o
      wxBookCtrlBase::wxBookCtrlBase() in editor_tabs.cpp.o
      ...
  "wxAuiPaneButtonArray::~wxAuiPaneButtonArray()", referenced from:
      wxAuiPaneInfo::wxAuiPaneInfo() in application.cpp.o
      wxAuiPaneInfo::wxAuiPaneInfo(wxAuiPaneInfo const&) in application.cpp.o
      wxAuiPaneInfo::~wxAuiPaneInfo() in application.cpp.o
      wxAuiPaneInfo::wxAuiPaneInfo(wxAuiPaneInfo const&) in gui.cpp.o
      wxAuiPaneInfo::wxAuiPaneInfo() in gui.cpp.o
      wxAuiPaneInfo::~wxAuiPaneInfo() in gui.cpp.o
  "wxAuiPaneButtonArray::operator=(wxAuiPaneButtonArray const&)", referenced from:
      wxAuiPaneInfo::operator=(wxAuiPaneInfo const&) in application.cpp.o
      wxAuiPaneInfo::wxAuiPaneInfo(wxAuiPaneInfo const&) in application.cpp.o
      wxAuiPaneInfo::operator=(wxAuiPaneInfo const&) in gui.cpp.o
      wxAuiPaneInfo::wxAuiPaneInfo(wxAuiPaneInfo const&) in gui.cpp.o
  "wxFrame::Init()", referenced from:
      MainFrame::MainFrame(wxString const&, wxPoint const&, wxSize const&) in application.cpp.o
  "wxMBConv::~wxMBConv()", referenced from:
      SearchResultWindow::OnClickExport(wxCommandEvent&) in result_window.cpp.o
      Settings::load() in settings.cpp.o
      Settings::save(bool) in settings.cpp.o
  "wxWindow::DragAcceptFiles(bool)", referenced from:
      vtable for AboutWindow in about_window.cpp.o
      vtable for GamePanel in about_window.cpp.o
      vtable for TetrisPanel in about_window.cpp.o
      vtable for SnakePanel in about_window.cpp.o
      vtable for wxNavigationEnabled<wxWindow> in about_window.cpp.o
      vtable for MainFrame in application.cpp.o
      vtable for MapScrollBar in application.cpp.o
      ...
  "wxDisplay::~wxDisplay()", referenced from:
      GUI::LoadPerspective() in gui.cpp.o
  "wxListBoxBase::GetCountPerPage() const", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "wxMBConv::cMB2WC(char const*) const", referenced from:
      wxArgNormalizerWchar<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>::wxArgNormalizerWchar(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, wxFormatString const*, unsigned int) in client_version.cpp.o
  "non-virtual thunk to wxTextCtrl::Cut()", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::Copy()", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::Paste()", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxGrid::GetSizeAvailableForScrollTarget(wxSize const&)", referenced from:
      vtable for myGrid in live_tab.cpp.o
  "non-virtual thunk to wxVListBox::OnGetRowHeight(unsigned long) const", referenced from:
      vtable for BrowseTileListBox in browse_tile_window.cpp.o
      vtable for FindDialogListBox in common_windows.cpp.o
      vtable for DatDebugViewListBox in dat_debug_view.cpp.o
      vtable for BrushListBox in palette_brushlist.cpp.o
  "non-virtual thunk to wxListBoxBase::SetSelection(int)", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxTextCtrlBase::overflow(int)", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxListBox::DoInsertItems(wxArrayStringsAdapter const&, unsigned int, void**, wxClientDataType)", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::DoDeleteOneItem(unsigned int)", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::DoSetItemClientData(unsigned int, void*)", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::DoClear()", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::SetString(unsigned int, wxString const&)", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::FindString(wxString const&, bool) const", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::GetSelection() const", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::DoGetItemClientData(unsigned int) const", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::GetCount() const", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxListBox::GetString(unsigned int) const", referenced from:
      vtable for SortableListBox in common_windows.cpp.o
  "non-virtual thunk to wxTextCtrl::DiscardEdits()", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::ShowPosition(long)", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::SetDefaultStyle(wxTextAttr const&)", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::GetStyle(long, wxTextAttr&)", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::SetStyle(long, long, wxTextAttr const&)", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::MarkDirty()", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::IsModified() const", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::GetLineText(long) const", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::PositionToXY(long, long*, long*) const", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::XYToPosition(long, long) const", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::GetLineLength(long) const", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
  "non-virtual thunk to wxTextCtrl::GetNumberOfLines() const", referenced from:
      vtable for KeyForwardingTextCtrl in common_windows.cpp.o
      vtable for NumberTextCtrl in numbertextctrl.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [rme] Error 1
make[1]: *** [CMakeFiles/rme.dir/all] Error 2
make: *** [all] Error 2

@gpedro
Copy link
Collaborator

gpedro commented Jun 1, 2019

you are using a wrong version of wxWicket. in past, I got it same error.

@idontreallywolf
Copy link
Author

which version is required ? ( I've got 3.0.4_2 )

@Elime1
Copy link
Collaborator

Elime1 commented Jun 26, 2020

Is this still a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants