Hi all!
i m trying to compile amule 2.2.6 but it fails with listctrl.cpp file. I have an old fedora 6 but i have
wxX11 2.8.11 and crypto++ selfcompiled. g++ version is 4.1.2
I use configure without any options and it runs fine except says that i have no UPnP support... but i dont care.
I give you just the beginning of the error message otherwise this post gets unreadable:
...
Compiling DirectoryTreeCtrl.cpp
Compiling EditServerListDlg.cpp
Compiling listctrl.cpp
/usr/local/include/wx-2.8/wx/univ/renderer.h: In member function ‘virtual int MuleExtern::wxDelegateRenderer::DrawHeaderButton(MuleExtern::wxWindow*, MuleExtern::wxDC&, const wxRect&, int, wxHeaderSortIconType, wxHeaderButtonParams*)’:
/usr/local/include/wx-2.8/wx/univ/renderer.h:856: error: no matching function for call to ‘MuleExtern::wxRenderer::DrawHeaderButton(MuleExtern::wxWindow*&, MuleExtern::wxDC&, const wxRect&, int&, wxHeaderSortIconType&, wxHeaderButtonParams*&)’
/usr/local/include/wx-2.8/wx/renderer.h:317: note: candidates are: virtual int wxDelegateRendererNative::DrawHeaderButton(wxWindow*, wxDC&, const wxRect&, int, wxHeaderSortIconType, wxHeaderButtonParams*)
/usr/local/include/wx-2.8/wx/univ/renderer.h: In member function ‘virtual void MuleExtern::wxDelegateRenderer::DrawTreeItemButton(MuleExtern::wxWindow*, MuleExtern::wxDC&, const wxRect&, int)’:
/usr/local/include/wx-2.8/wx/univ/renderer.h:861: error: no matching function for call to ‘MuleExtern::wxRenderer::DrawTreeItemButton(MuleExtern::wxWindow*&, MuleExtern::wxDC&, const wxRect&, int&)’
/usr/local/include/wx-2.8/wx/renderer.h:334: note: candidates are: virtual void wxDelegateRendererNative::DrawTreeItemButton(wxWindow*, wxDC&, const wxRect&, int)
extern/wxWidgets/listctrl.cpp: At global scope:
extern/wxWidgets/listctrl.cpp:1764: error: prototype for ‘void MuleExtern::wxListHeaderWindow::AdjustDC(MuleExtern::wxDC&)’ does not match any in class ‘MuleExtern::wxListHeaderWindow’
extern/wxWidgets/listctrl.cpp:412: error: candidate is: void MuleExtern::wxListHeaderWindow::AdjustDC(wxDC&)
extern/wxWidgets/listctrl.cpp: In member function ‘void MuleExtern::wxListHeaderWindow::AdjustDC(MuleExtern::wxDC&)’:
extern/wxWidgets/listctrl.cpp:1775: error: invalid use of undefined type ‘struct MuleExtern::wxDC’
/usr/local/include/wx-2.8/wx/univ/renderer.h:34: error: forward declaration of ‘struct MuleExtern::wxDC’
extern/wxWidgets/listctrl.cpp:1788: error: invalid use of undefined type ‘struct MuleExtern::wxDC’
/usr/local/include/wx-2.8/wx/univ/renderer.h:34: error: forward declaration of ‘struct MuleExtern::wxDC’
...
anybody has an idea what i am doing wrong?
Cheers
blabla