I am trying to compile the layout editor 0.5.0 in Linux. I followed the tips available here http://www.cegui.org.uk/wiki/index.php/Getting_Started#Setup_the_editor.
So, I first installed wxWidgets-2.8.7.
Then, I configured the layout editor package with the following command:
./configure --with-wx-config=/opt/wx/lib/wx/config/gtk2-unicode-release-2.8
After make, the compilation follows, but stops with the following error:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -I../dependencies/iniFile -I/usr/lo
cal/include/CEGUI -I/opt/wx//lib/wx/include/gtk2-unicode-release-2.8 -I/opt/wx
//include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DCLEDITOR_DA
TAPATH="\"/usr/local/share/CELayoutEditor/datafiles\"" -g -O2 -MT DialogAddWi
ndow.o -MD -MP -MF ".deps/DialogAddWindow.Tpo" -c -o DialogAddWindow.o DialogAdd
Window.cpp; \
then mv -f ".deps/DialogAddWindow.Tpo" ".deps/DialogAddWindow.Po"; else
rm -f ".deps/DialogAddWindow.Tpo"; exit 1; fi
DialogAddWindow.cpp: In member function ‘void DialogAddWindow::InitWidgetTree(co
nst CEGUI::Window*)’:
DialogAddWindow.cpp:165: error: no matching function for call to ‘wxTreeCtrl::Ge
tFirstChild(wxTreeItemId&, long int&)’
/opt/wx//include/wx-2.8/wx/generic/treectlg.h:120: note: candidates are: virtual
wxTreeItemId wxGenericTreeCtrl::GetFirstChild(const wxTreeItemId&, void*&) cons
t
DialogAddWindow.cpp:169: error: no matching function for call to ‘wxTreeCtrl::Ge
tFirstChild(wxTreeItemId&, long int&)’
/opt/wx//include/wx-2.8/wx/generic/treectlg.h:120: note: candidates are: virtual
wxTreeItemId wxGenericTreeCtrl::GetFirstChild(const wxTreeItemId&, void*&) cons
t
DialogAddWindow.cpp: In member function ‘void DialogAddWindow::OnSelchangedWidge
tTree(wxTreeEvent&)’:
DialogAddWindow.cpp:184: error: no matching function for call to ‘wxTreeCtrl::Ge
tFirstChild(wxTreeItemId&, long int&)’
/opt/wx//include/wx-2.8/wx/generic/treectlg.h:120: note: candidates are: virtual
wxTreeItemId wxGenericTreeCtrl::GetFirstChild(const wxTreeItemId&, void*&) cons
t
DialogAddWindow.cpp: In member function ‘void DialogAddWindow::OnOK(wxCommandEve
nt&)’:
DialogAddWindow.cpp:272: error: ‘OnOK’ is not a member of ‘wxDialog’
DialogAddWindow.cpp: In member function ‘void DialogAddWindow::OnCancel(wxComman
dEvent&)’:
DialogAddWindow.cpp:280: error: ‘OnCancel’ is not a member of ‘wxDialog’
make[2]: *** [DialogAddWindow.o] Error 1
make[2]: Leaving directory `/home/schnorr/tmp/CELayoutEditor-0.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/schnorr/tmp/CELayoutEditor-0.5.0'
make: *** [all] Error 2
schnorr@crowh:~/tmp/CELayoutEditor-0.5.0$
Does anyone know a solution for that?
the version 0.5.0 of the editor works with wxwidgets 2.8.7?
Thanks