aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compilation problem in slackware 10.2 wxX11-2.6.3  (Read 3132 times)

sephiroth84

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
compilation problem in slackware 10.2 wxX11-2.6.3
« on: April 30, 2006, 08:13:15 PM »

Hi during compilation i get this error:


In file included from /usr/local/include/wx-2.6/wx/scrolbar.h:60,
                 from /usr/local/include/wx-2.6/wx/univ/renderer.h:52,
                 from extern/listctrl.262.cpp:1678,
                 from listctrl.cpp:4:
/usr/local/include/wx-2.6/wx/univ/scrolbar.h: At global scope:
/usr/local/include/wx-2.6/wx/univ/scrolbar.h:113: error: conflicting return type specified for `virtual wxWindow* MuleExtern::wxScrollBar::GetWindow()'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:92: error:   overriding `virtual MuleExtern::wxWindow* MuleExtern::wxControlWithArrows::GetWindow()'
/usr/local/include/wx-2.6/wx/univ/scrolbar.h: In member function `virtual MuleExtern::wxRenderer* MuleExtern::wxScrollBar::GetRenderer() const':
/usr/local/include/wx-2.6/wx/univ/scrolbar.h:112: error: cannot convert `wxRenderer* const' to `MuleExtern::wxRenderer*' in return
In file included from extern/listctrl.262.cpp:1678,
                 from listctrl.cpp:4:
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual MuleExtern::wxRect MuleExtern::wxDelegateRenderer::GetBorderDimensions(wxBorder) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:750: error: return type `struct MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:750: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual MuleExtern::wxRect MuleExtern::wxDelegateRenderer::GetScrollbarRect(const MuleExtern::wxScrollBar*, MuleExtern::wxScrollBar::Element, int) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:759: error: return type `struct MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:759: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual MuleExtern::wxRect MuleExtern::wxDelegateRenderer::GetTextTotalArea(const MuleExtern::wxTextCtrl*, const MuleExtern::wxRect&) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:787: error: return type `struct MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:787: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual MuleExtern::wxRect MuleExtern::wxDelegateRenderer::GetTextClientArea(const MuleExtern::wxTextCtrl*, const MuleExtern::wxRect&, wxCoord*) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:791: error: return type `struct MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:791: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual MuleExtern::wxRect MuleExtern::wxDelegateRenderer::GetSliderShaftRect(const MuleExtern::wxRect&, int, wxOrientation, long int) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:804: error: return type `struct MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:804: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual MuleExtern::wxRect MuleExtern::wxDelegateRenderer::GetFrameClientArea(const MuleExtern::wxRect&, int) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:819: error: return type `struct MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:819: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual void MuleExtern::wxDelegateRenderer::DrawHeaderButton(MuleExtern::wxWindow*, MuleExtern::wxDC&, const MuleExtern::wxRect&, int)':
/usr/local/include/wx-2.6/wx/univ/renderer.h:835: error: no matching function for call to `MuleExtern::wxRenderer::DrawHeaderButton(MuleExtern::wxWindow*&, MuleExtern::wxDC&, const MuleExtern::wxRect&, int&)'
/usr/local/include/wx-2.6/wx/renderer.h:240: error: candidates are: virtual void wxDelegateRendererNative::DrawHeaderButton(wxWindow*, wxDC&, const wxRect&, int)
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual void MuleExtern::wxDelegateRenderer::DrawTreeItemButton(MuleExtern::wxWindow*, MuleExtern::wxDC&, const MuleExtern::wxRect&, int)':
/usr/local/include/wx-2.6/wx/univ/renderer.h:840: error: no matching function for call to `MuleExtern::wxRenderer::DrawTreeItemButton(MuleExtern::wxWindow*&, MuleExtern::wxDC&, const MuleExtern::wxRect&, int&)'
/usr/local/include/wx-2.6/wx/renderer.h:246: error: candidates are: virtual void wxDelegateRendererNative::DrawTreeItemButton(wxWindow*, wxDC&, const wxRect&, int)
/usr/local/include/wx-2.6/wx/univ/renderer.h: At global scope:
/usr/local/include/wx-2.6/wx/univ/renderer.h:905: error: field `m_rect' has incomplete type
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `const MuleExtern::wxRect& MuleExtern::wxControlRenderer::GetRect() const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:885: error: `m_rect' undeclared (first use this function)
/usr/local/include/wx-2.6/wx/univ/renderer.h:885: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:1685: error: prototype for `void MuleExtern::wxListHeaderWindow::AdjustDC(MuleExtern::wxDC&)' does not match any in class `MuleExtern::wxListHeaderWindow'
extern/listctrl.262.cpp:413: error: candidate is: void MuleExtern::wxListHeaderWindow::AdjustDC(wxDC&)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListHeaderWindow::AdjustDC(MuleExtern::wxDC&)':
extern/listctrl.262.cpp:1693: error: `SetDeviceOrigin' undeclared (first use this function)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListHeaderWindow::OnPaint(wxPaintEvent&)':
extern/listctrl.262.cpp:1738: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:1848: error: prototype for `void MuleExtern::wxListHeaderWindow::OnMouse(MuleExtern::wxMouseEvent&)' does not match any in class `MuleExtern::wxListHeaderWindow'
extern/listctrl.262.cpp:416: error: candidate is: void MuleExtern::wxListHeaderWindow::OnMouse(wxMouseEvent&)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListHeaderWindow::OnMouse(MuleExtern::wxMouseEvent&)':
extern/listctrl.262.cpp:1851: error: `GetX' undeclared (first use this function)
extern/listctrl.262.cpp:1852: error: `GetY' undeclared (first use this function)
extern/listctrl.262.cpp:1856: error: `GetPosition' undeclared (first use this function)
extern/listctrl.262.cpp:1869: error: `ButtonUp' undeclared (first use this function)
extern/listctrl.262.cpp:1924: error: `LeftDown' undeclared (first use this function)
extern/listctrl.262.cpp:1924: error: `RightUp' undeclared (first use this function)
extern/listctrl.262.cpp:1946: error: `Moving' undeclared (first use this function)
extern/listctrl.262.cpp: In constructor `MuleExtern::wxListTextCtrl::wxListTextCtrl(MuleExtern::wxListMainWindow*, unsigned int)':
extern/listctrl.262.cpp:2021: error: variable `MuleExtern::wxRect rectLabel' has initializer but incomplete type
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:2319: error: prototype for `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineRect(unsigned int) const' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:549: error: candidate is: wxRect MuleExtern::wxListMainWindow::GetLineRect(unsigned int) const
extern/listctrl.262.cpp:2319: error: `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineRect(unsigned int) const' and `wxRect MuleExtern::wxListMainWindow::GetLineRect(unsigned int) const' cannot be overloaded
extern/listctrl.262.cpp: In member function `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineRect(unsigned int) const':
extern/listctrl.262.cpp:2319: error: return type `struct MuleExtern::wxRect' is incomplete
extern/listctrl.262.cpp:2321: error: conversion from `wxRect' to non-scalar type `MuleExtern::wxRect' requested
extern/listctrl.262.cpp:2323: error: aggregate `MuleExtern::wxRect rect' has incomplete type and cannot be defined
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:2333: error: prototype for `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineLabelRect(unsigned int) const' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:552: error: candidate is: wxRect MuleExtern::wxListMainWindow::GetLineLabelRect(unsigned int) const
extern/listctrl.262.cpp:2333: error: `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineLabelRect(unsigned int) const' and `wxRect MuleExtern::wxListMainWindow::GetLineLabelRect(unsigned int) const' cannot be overloaded
extern/listctrl.262.cpp: In member function `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineLabelRect(unsigned int) const':
extern/listctrl.262.cpp:2333: error: return type `struct MuleExtern::wxRect' is incomplete
extern/listctrl.262.cpp:2335: error: conversion from `wxRect' to non-scalar type `MuleExtern::wxRect' requested
extern/listctrl.262.cpp:2337: error: aggregate `MuleExtern::wxRect rect' has incomplete type and cannot be defined
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:2347: error: prototype for `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineIconRect(unsigned int) const' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:556: error: candidate is: wxRect MuleExtern::wxListMainWindow::GetLineIconRect(unsigned int) const
extern/listctrl.262.cpp:2347: error: `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineIconRect(unsigned int) const' and `wxRect MuleExtern::wxListMainWindow::GetLineIconRect(unsigned int) const' cannot be overloaded
extern/listctrl.262.cpp: In member function `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineIconRect(unsigned int) const':
extern/listctrl.262.cpp:2347: error: return type `struct MuleExtern::wxRect' is incomplete
extern/listctrl.262.cpp:2349: error: conversion from `wxRect' to non-scalar type `MuleExtern::wxRect' requested
extern/listctrl.262.cpp:2354: error: aggregate `MuleExtern::wxRect rect' has incomplete type and cannot be defined
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:2363: error: prototype for `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineHighlightRect(unsigned int) const' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:559: error: candidate is: wxRect MuleExtern::wxListMainWindow::GetLineHighlightRect(unsigned int) const
extern/listctrl.262.cpp:2363: error: `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineHighlightRect(unsigned int) const' and `wxRect MuleExtern::wxListMainWindow::GetLineHighlightRect(unsigned int) const' cannot be overloaded
extern/listctrl.262.cpp: In member function `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetLineHighlightRect(unsigned int) const':
extern/listctrl.262.cpp:2363: error: return type `struct MuleExtern::wxRect' is incomplete
extern/listctrl.262.cpp:2365: error: conversion from `wxRect' to non-scalar type `MuleExtern::wxRect' requested
extern/listctrl.262.cpp: In member function `long int MuleExtern::wxListMainWindow::HitTestLine(unsigned int, int, int) const':
extern/listctrl.262.cpp:2382: error: variable `MuleExtern::wxRect rect' has initializer but incomplete type
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::RefreshLine(unsigned int)':
extern/listctrl.262.cpp:2481: error: variable `MuleExtern::wxRect rect' has initializer but incomplete type
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::RefreshLines(unsigned int, unsigned int)':
extern/listctrl.262.cpp:2504: error: aggregate `MuleExtern::wxRect rect' has incomplete type and cannot be defined
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::RefreshAfter(unsigned int)':
extern/listctrl.262.cpp:2535: error: aggregate `MuleExtern::wxRect rect' has incomplete type and cannot be defined
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::OnPaint(wxPaintEvent&)':
extern/listctrl.262.cpp:2633: error: aggregate `MuleExtern::wxRect rectLine' has incomplete type and cannot be defined
extern/listctrl.262.cpp:2671: error: variable `MuleExtern::wxRect rect' has initializer but incomplete type
extern/listctrl.262.cpp:2672: error: variable `MuleExtern::wxRect highl' has initializer but incomplete type
extern/listctrl.262.cpp:2717: error: variable `MuleExtern::wxRect after' has initializer but incomplete type
extern/listctrl.262.cpp:2773: error: aggregate `MuleExtern::wxRect firstItemRect' has incomplete type and cannot be defined
extern/listctrl.262.cpp:2774: error: aggregate `MuleExtern::wxRect lastItemRect' has incomplete type and cannot be defined
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:2939: error: prototype for `void MuleExtern::wxListMainWindow::OnMouse(MuleExtern::wxMouseEvent&)' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:585: error: candidate is: void MuleExtern::wxListMainWindow::OnMouse(wxMouseEvent&)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::OnMouse(MuleExtern::wxMouseEvent&)':
extern/listctrl.262.cpp:2940: error: `SetEventObject' undeclared (first use this function)
extern/listctrl.262.cpp:2941: error: no matching function for call to `wxEvtHandler::ProcessEvent(MuleExtern::wxMouseEvent&)'
/usr/local/include/wx-2.6/wx/event.h:2320: error: candidates are: virtual bool wxEvtHandler::ProcessEvent(wxEvent&)
extern/listctrl.262.cpp:2944: error: `GetEventType' undeclared (first use this function)
extern/listctrl.262.cpp:2947: error: `Skip' undeclared (first use this function)
extern/listctrl.262.cpp:2957: error: `Dragging' undeclared (first use this function)
extern/listctrl.262.cpp:2957: error: `ButtonDown' undeclared (first use this function)
extern/listctrl.262.cpp:2957: error: `LeftUp' undeclared (first use this function)
extern/listctrl.262.cpp:2958: error: `ButtonDClick' undeclared (first use this function)
extern/listctrl.262.cpp:2961: error: `GetX' undeclared (first use this function)
extern/listctrl.262.cpp:2962: error: `GetY' undeclared (first use this function)
extern/listctrl.262.cpp:2996: error: `GetPosition' undeclared (first use this function)
extern/listctrl.262.cpp:3004: error: `RightIsDown' undeclared (first use this function)
extern/listctrl.262.cpp:3074: error: `RightDown' undeclared (first use this function)
extern/listctrl.262.cpp:3091: error: `MiddleDown' undeclared (first use this function)
extern/listctrl.262.cpp:3095: error: `LeftDown' undeclared (first use this function)
extern/listctrl.262.cpp:3103: error: `CmdDown' undeclared (first use this function)
extern/listctrl.262.cpp:3104: error: `ShiftDown' undeclared (first use this function)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::MoveToItem(unsigned int)':
extern/listctrl.262.cpp:3165: error: variable `MuleExtern::wxRect rect' has initializer but incomplete type
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:3449: error: prototype for `void MuleExtern::wxListMainWindow::DrawImage(int, MuleExtern::wxDC*, int, int)' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:603: error: candidate is: void MuleExtern::wxListMainWindow::DrawImage(int, wxDC*, int, int)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::DrawImage(int, MuleExtern::wxDC*, int, int)':
extern/listctrl.262.cpp:3452: error: no matching function for call to `wxImageList::Draw(int&, MuleExtern::wxDC&, int&, int&, int)'
/usr/local/include/wx-2.6/wx/generic/imaglist.h:80: error: candidates are: virtual bool wxGenericImageList::Draw(int, wxDC&, int, int, int, bool)
extern/listctrl.262.cpp:3456: error: no matching function for call to `wxImageList::Draw(int&, MuleExtern::wxDC&, int&, int&, int)'
/usr/local/include/wx-2.6/wx/generic/imaglist.h:80: error: candidates are: virtual bool wxGenericImageList::Draw(int, wxDC&, int, int, int, bool)
extern/listctrl.262.cpp:3460: error: no matching function for call to `wxImageList::Draw(int&, MuleExtern::wxDC&, int&, int&, int)'
/usr/local/include/wx-2.6/wx/generic/imaglist.h:80: error: candidates are: virtual bool wxGenericImageList::Draw(int, wxDC&, int, int, int, bool)
extern/listctrl.262.cpp:3464: error: no matching function for call to `wxImageList::Draw(int&, MuleExtern::wxDC&, int&, int&, int)'
/usr/local/include/wx-2.6/wx/generic/imaglist.h:80: error: candidates are: virtual bool wxGenericImageList::Draw(int, wxDC&, int, int, int, bool)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::SetItem(wxListItem&)':
extern/listctrl.262.cpp:3710: error: aggregate `MuleExtern::wxRect rectItem' has incomplete type and cannot be defined
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:3939: error: prototype for `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetViewRect() const' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:628: error: candidate is: wxRect MuleExtern::wxListMainWindow::GetViewRect() const
extern/listctrl.262.cpp:3939: error: `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetViewRect() const' and `wxRect MuleExtern::wxListMainWindow::GetViewRect() const' cannot be overloaded
extern/listctrl.262.cpp: In member function `MuleExtern::wxRect MuleExtern::wxListMainWindow::GetViewRect() const':
extern/listctrl.262.cpp:3939: error: return type `struct MuleExtern::wxRect' is incomplete
extern/listctrl.262.cpp:3951: error: aggregate `MuleExtern::wxRect r' has incomplete type and cannot be defined
extern/listctrl.262.cpp:3975: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:3979: error: prototype for `void MuleExtern::wxListMainWindow::GetItemRect(long int, MuleExtern::wxRect&) const' does not match any in class `MuleExtern::wxListMainWindow'
extern/listctrl.262.cpp:627: error: candidate is: void MuleExtern::wxListMainWindow::GetItemRect(long int, wxRect&) const
extern/listctrl.262.cpp: In member function `void MuleExtern::wxListMainWindow::GetItemRect(long int, MuleExtern::wxRect&) const':
extern/listctrl.262.cpp:3990: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp:3992: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp:3992: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp:3992: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp:3992: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp: In member function `bool MuleExtern::wxListMainWindow::GetItemPosition(long int, wxPoint&) const':
extern/listctrl.262.cpp:3997: error: aggregate `MuleExtern::wxRect rect' has incomplete type and cannot be defined
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:5072: error: prototype for `MuleExtern::wxRect MuleExtern::wxGenericListCtrl::GetViewRect() const' does not match any in class `MuleExtern::wxGenericListCtrl'
extern/listctrl.262.h:90: error: candidate is: wxRect MuleExtern::wxGenericListCtrl::GetViewRect() const
extern/listctrl.262.cpp:5072: error: `MuleExtern::wxRect MuleExtern::wxGenericListCtrl::GetViewRect() const' and `wxRect MuleExtern::wxGenericListCtrl::GetViewRect() const' cannot be overloaded
extern/listctrl.262.cpp: In member function `MuleExtern::wxRect MuleExtern::wxGenericListCtrl::GetViewRect() const':
extern/listctrl.262.cpp:5072: error: return type `struct MuleExtern::wxRect' is incomplete
extern/listctrl.262.cpp:5073: error: conversion from `wxRect' to non-scalar type `MuleExtern::wxRect' requested
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:5077: error: prototype for `bool MuleExtern::wxGenericListCtrl::GetItemRect(long int, MuleExtern::wxRect&, int) const' does not match any in class `MuleExtern::wxGenericListCtrl'
extern/listctrl.262.h:102: error: candidate is: bool MuleExtern::wxGenericListCtrl::GetItemRect(long int, wxRect&, int) const
extern/listctrl.262.cpp: In member function `bool MuleExtern::wxGenericListCtrl::GetItemRect(long int, MuleExtern::wxRect&, int) const':
extern/listctrl.262.cpp:5080: error: invalid use of undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of `struct MuleExtern::wxRect'
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:5123: error: prototype for `void MuleExtern::wxGenericListCtrl::OnDrawItem(int, MuleExtern::wxDC*, const MuleExtern::wxRect&, const MuleExtern::wxRect&, bool)' does not match any in class `MuleExtern::wxGenericListCtrl'
extern/listctrl.262.h:194: error: candidate is: virtual void MuleExtern::wxGenericListCtrl::OnDrawItem(int, wxDC*, const wxRect&, const wxRect&, bool)
extern/listctrl.262.cpp:5578: error: prototype for `bool MuleExtern::wxGenericListCtrl::DoPopupMenu(MuleExtern::wxMenu*, int, int)' does not match any in class `MuleExtern::wxGenericListCtrl'
extern/listctrl.262.h:208: error: candidate is: virtual bool MuleExtern::wxGenericListCtrl::DoPopupMenu(wxMenu*, int, int)
extern/listctrl.262.cpp: In member function `bool MuleExtern::wxGenericListCtrl::DoPopupMenu(MuleExtern::wxMenu*, int, int)':
extern/listctrl.262.cpp:5580: error: no matching function for call to `MuleExtern::wxListMainWindow::PopupMenu(MuleExtern::wxMenu*&, int&, int&)'
/usr/local/include/wx-2.6/wx/window.h:868: error: candidates are: bool wxWindowBase::PopupMenu(wxMenu*, const wxPoint&)
/usr/local/include/wx-2.6/wx/window.h:870: error:                 bool wxWindowBase::PopupMenu(wxMenu*, int, int)
extern/listctrl.262.cpp: At global scope:
extern/listctrl.262.cpp:5658: error: prototype for `void MuleExtern::wxGenericListCtrl::Refresh(bool, const MuleExtern::wxRect*)' does not match any in class `MuleExtern::wxGenericListCtrl'
extern/listctrl.262.h:190: error: candidate is: virtual void MuleExtern::wxGenericListCtrl::Refresh(bool, const wxRect*)
extern/listctrl.262.cpp: In member function `void MuleExtern::wxGenericListCtrl::Refresh(bool, const MuleExtern::wxRect*)':
extern/listctrl.262.cpp:5673: error: variable `MuleExtern::wxRect rectHeader' has initializer but incomplete type
extern/listctrl.262.cpp:5688: error: variable `MuleExtern::wxRect rectMain' has initializer but incomplete type
make[3]: *** [libmuleappgui_a-listctrl.o] Error 1
make[3]: Leaving directory `/root/aMule-2.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/aMule-2.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.1.1'
make: *** [all] Error 2

What do you think of this errors?
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: compilation problem in slackware 10.2 wxX11-2.6.3
« Reply #1 on: May 01, 2006, 09:20:28 AM »

This is already known and afaik wxX11 compatibility is not a major goal at the moment...
Logged

sephiroth84

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: compilation problem in slackware 10.2 wxX11-2.6.3
« Reply #2 on: May 01, 2006, 10:13:46 AM »

so?  how i can compile amule?? i have to install another version of wxWidgets?
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: compilation problem in slackware 10.2 wxX11-2.6.3
« Reply #3 on: May 01, 2006, 10:43:09 AM »

Yes, exactly. Use wxGTK instead of wxX11.
Logged