• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling RME 3.5 OSX 10.14 - Undefined symbols for architechture x86_64

Snavy

Bakasta
Senator
Joined
Apr 1, 2012
Messages
1,249
Solutions
71
Reaction score
621
Location
Hell
I have been trying to compile hjnilsson/rme (https://github.com/hjnilsson/rme/) on mac OSX 10.14
I have installed required libs:
  • wxWidgets >= 3.0 (it's wxmac on homebrew installer)
  • Boost >= 1.55.0
I have opened an issue but the contributors dont seem to be active: OSX 10.14 Mojave - Undefined symbols for architecture x86_64 · Issue #259 · hjnilsson/rme (https://github.com/hjnilsson/rme/issues/259)

Source code compiled successfully until 100% then this came up:
Code:
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
 
Do not post spam-messages such as; "bump", "up", etc. If you want to bring your thread up on respective board, then post something informative.
Bump - Still in need of help, haven't anything new.
 
Last edited by a moderator:
Back
Top