I'm in Ubuntu18.04 i have a WX3.1 gtk version compiled in my system for other programs. cloned from the git: https://github.com/codereader/DarkRadiant.git installed: zlib1g-devlibjpeg62-devlibwxgtk3.0-devlibxml2-devlibsigc++-2.0-devlibpng-devlibftgl-devlibglew-devlibalut-devlibvorbis-devpybind11-devand obviously automake libtool g++ gettext pkg-config
Making all in wxutil
make[3]: Entering directory '/home/biel/games/src/DarkRadiant/libs/wxutil'
CXX ConsoleView.lo
CXX FreezePointer.lo
CXX GLWidget.lo
CXX KeyValueTable.lo
CXX PanedPosition.lo
CXX VFSTreePopulator.lo
CXX WindowPosition.lo
CXX window/TransientWindow.lo
CXX dialog/Dialog.lo
CXX dialog/MessageBox.lo
CXX preview/ModelPreview.lo
CXX preview/ParticlePreview.lo
CXX preview/RenderPreview.lo
CXX preview/GuiRenderer.lo
CXX preview/GuiView.lo
CXX GLFont.lo
CXX menu/PopupMenu.lo
CXX PathEntry.lo
CXX TreeModel.lo
CXX TreeView.lo
TreeView.cpp: In member function ‘void wxutil::TreeView::_onSearch(wxutil::TreeView::SearchEvent&)’:
TreeView.cpp:359:63: error: no matching function for call to ‘wxDataViewEvent::wxDataViewEvent(const wxEventTypeTag<wxDataViewEvent>&, wxWindowID)’
wxDataViewEvent le(wxEVT_DATAVIEW_SELECTION_CHANGED, GetId());
^
In file included from TreeView.h:3:0,
from TreeView.cpp:1:
/usr/local/include/wx-3.1/wx/dataview.h:832:5: note: candidate: wxDataViewEvent::wxDataViewEvent(const wxDataViewEvent&)
wxDataViewEvent(const wxDataViewEvent& event)
^~~~~~~~~~~~~~~
/usr/local/include/wx-3.1/wx/dataview.h:832:5: note: candidate expects 1 argument, 2 provided
/usr/local/include/wx-3.1/wx/dataview.h:824:5: note: candidate: wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, const wxDataViewItem&)
wxDataViewEvent(wxEventType evtType,
^~~~~~~~~~~~~~~
/usr/local/include/wx-3.1/wx/dataview.h:824:5: note: candidate expects 3 arguments, 2 provided
/usr/local/include/wx-3.1/wx/dataview.h:814:5: note: candidate: wxDataViewEvent::wxDataViewEvent(wxEventType, wxDataViewCtrlBase*, wxDataViewColumn*, const wxDataViewItem&)
wxDataViewEvent(wxEventType evtType,
^~~~~~~~~~~~~~~
/usr/local/include/wx-3.1/wx/dataview.h:814:5: note: candidate expects 4 arguments, 2 provided
/usr/local/include/wx-3.1/wx/dataview.h:807:5: note: candidate: wxDataViewEvent::wxDataViewEvent()
wxDataViewEvent()
^~~~~~~~~~~~~~~
/usr/local/include/wx-3.1/wx/dataview.h:807:5: note: candidate expects 0 arguments, 2 provided
TreeView.cpp:362:25: warning: ‘void wxDataViewEvent::SetModel(wxDataViewModel*)’ is deprecated: Pass the argument to the ctor instead [-Wdeprecated-declarations]
le.SetModel(GetModel());
^
In file included from TreeView.h:3:0,
from TreeView.cpp:1:
/usr/local/include/wx-3.1/wx/dataview.h:901:10: note: declared here
void SetModel( wxDataViewModel *model ) { m_model = model; }
^~~~~~~~
TreeView.cpp:363:29: warning: ‘void wxDataViewEvent::SetItem(const wxDataViewItem&)’ is deprecated: Pass the argument to the ctor instead [-Wdeprecated-declarations]
le.SetItem(_curSearchMatch);
^
In file included from TreeView.h:3:0,
from TreeView.cpp:1:
/usr/local/include/wx-3.1/wx/dataview.h:905:10: note: declared here
void SetItem( const wxDataViewItem &item ) { m_item = item; }
^~~~~~~
Makefile:649: recipe for target 'TreeView.lo' failed
make[3]: *** [TreeView.lo] Error 1
make[3]: Leaving directory '/home/biel/games/src/DarkRadiant/libs/wxutil'
Makefile:437: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/biel/games/src/DarkRadiant/libs'sudo apt-get install git
Makefile:752: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/biel/games/src/DarkRadiant'
Makefile:493: recipe for target 'all' failed
make: *** [all] Error 2
it seems to be a wxwidgets problem? which version of wxwidgets should I have?