Hello, i have installed the ubuntu packages needed to compile amule but while compiling it get an error..
here it is:
***
some info:
Configured aMule 2.2.5 for 'i686-pc-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr/local
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule be compiled with UPnP support? yes
Should aMule be compiled with IP2country support? no
Should aMule monolithic application be built? yes
Should aMule daemon version be built? no
Should aMule remote gui be built? (EXPERIMENTAL) no
Crypto++ library/headers style? installed
**** aMule TextClient ****
Should aMule Command Line Client be built? no
**** aMule WebServer ****
Should aMule WebServer be built? no
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? no
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? no
Should aMule GUI Statistics (wxCas) be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.8.9 (base,shared)
crypto++ 5.5.2 (installed, in /usr)
libupnp 1.6.6
libintl system
zlib 1.2.3.3
***
Compiling BarShader.cpp
In file included from /usr/include/wx-2.8/wx/dc.h:22,
from BarShader.cpp:26:
/usr/include/wx-2.8/wx/cursor.h: In constructor ‘wxBusyCursorSuspender::wxBusyCursorSuspender()’:
/usr/include/wx-2.8/wx/cursor.h:65: error: ‘wxIsBusy’ was not declared in this scope
/usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxBusyCursor’ has not been declared
/usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxSetCursor’ was not declared in this scope
/usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
/usr/include/wx-2.8/wx/cursor.h:72: error: ‘wxIsBusy’ was not declared in this scope
/usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxBusyCursor’ has not been declared
/usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxSetCursor’ was not declared in this scope
In file included from BarShader.cpp:26:
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:835: error: field ‘m_pen’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:836: error: field ‘m_brush’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:837: error: field ‘m_backgroundBrush’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:838: error: field ‘m_textForegroundColour’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:839: error: field ‘m_textBackgroundColour’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:840: error: field ‘m_font’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCBase::wxDCBase()’:
/usr/include/wx-2.8/wx/dc.h:121: error: class ‘wxDCBase’ does not have any field named ‘m_pen’
/usr/include/wx-2.8/wx/dc.h:122: error: class ‘wxDCBase’ does not have any field named ‘m_brush’
/usr/include/wx-2.8/wx/dc.h:123: error: class ‘wxDCBase’ does not have any field named ‘m_backgroundBrush’
/usr/include/wx-2.8/wx/dc.h:124: error: class ‘wxDCBase’ does not have any field named ‘m_textForegroundColour’
/usr/include/wx-2.8/wx/dc.h:125: error: class ‘wxDCBase’ does not have any field named ‘m_textBackgroundColour’
/usr/include/wx-2.8/wx/dc.h:126: error: class ‘wxDCBase’ does not have any field named ‘m_font’
/usr/include/wx-2.8/wx/dc.h: In member function ‘wxBitmap wxDCBase::GetAsBitmap(const wxRect*) const’:
/usr/include/wx-2.8/wx/dc.h:318: error: return type ‘struct wxBitmap’ is incomplete
/usr/include/wx-2.8/wx/dc.h:319: error: invalid use of incomplete type ‘struct wxBitmap’
/usr/include/wx-2.8/wx/gdicmn.h:30: error: forward declaration of ‘struct wxBitmap’
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxBrush& wxDCBase::GetBackground() const’:
/usr/include/wx-2.8/wx/dc.h:528: error: ‘m_backgroundBrush’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxBrush& wxDCBase::GetBrush() const’:
/usr/include/wx-2.8/wx/dc.h:529: error: ‘m_brush’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxFont& wxDCBase::GetFont() const’:
/usr/include/wx-2.8/wx/dc.h:530: error: ‘m_font’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxPen& wxDCBase::GetPen() const’:
/usr/include/wx-2.8/wx/dc.h:531: error: ‘m_pen’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxColour& wxDCBase::GetTextForeground() const’:
/usr/include/wx-2.8/wx/dc.h:533: error: ‘m_textForegroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxColour& wxDCBase::GetTextBackground() const’:
/usr/include/wx-2.8/wx/dc.h:534: error: ‘m_textBackgroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual void wxDCBase::SetTextForeground(const wxColour&)’:
/usr/include/wx-2.8/wx/dc.h:536: error: ‘m_textForegroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual void wxDCBase::SetTextBackground(const wxColour&)’:
/usr/include/wx-2.8/wx/dc.h:538: error: ‘m_textBackgroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual wxBitmap wxDCBase::DoGetAsBitmap(const wxRect*) const’:
/usr/include/wx-2.8/wx/dc.h:734: error: return type ‘struct wxBitmap’ is incomplete
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:915: error: field ‘m_colFgOld’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCTextColourChanger::wxDCTextColourChanger(wxDC&)’:
/usr/include/wx-2.8/wx/dc.h:892: error: class ‘wxDCTextColourChanger’ does not have any field named ‘m_colFgOld’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCTextColourChanger::~wxDCTextColourChanger()’:
/usr/include/wx-2.8/wx/dc.h:901: error: ‘m_colFgOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:902: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In member function ‘void wxDCTextColourChanger::Set(const wxColour&)’:
/usr/include/wx-2.8/wx/dc.h:907: error: ‘m_colFgOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:908: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:909: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:942: error: field ‘m_penOld’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCPenChanger::wxDCPenChanger(wxDC&, const wxPen&)’:
/usr/include/wx-2.8/wx/dc.h:928: error: class ‘wxDCPenChanger’ does not have any field named ‘m_penOld’
/usr/include/wx-2.8/wx/dc.h:928: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:930: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCPenChanger::~wxDCPenChanger()’:
/usr/include/wx-2.8/wx/dc.h:935: error: ‘m_penOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:936: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:969: error: field ‘m_brushOld’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCBrushChanger::wxDCBrushChanger(wxDC&, const wxBrush&)’:
/usr/include/wx-2.8/wx/dc.h:955: error: class ‘wxDCBrushChanger’ does not have any field named ‘m_brushOld’
/usr/include/wx-2.8/wx/dc.h:955: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:957: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCBrushChanger::~wxDCBrushChanger()’:
/usr/include/wx-2.8/wx/dc.h:962: error: ‘m_brushOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:963: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCClipper::wxDCClipper(wxDC&, const wxRegion&)’:
/usr/include/wx-2.8/wx/dc.h:983: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCClipper::wxDCClipper(wxDC&, const wxRect&)’:
/usr/include/wx-2.8/wx/dc.h:985: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCClipper::wxDCClipper(wxDC&, wxCoord, wxCoord, wxCoord, wxCoord)’:
/usr/include/wx-2.8/wx/dc.h:987: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCClipper::~wxDCClipper()’:
/usr/include/wx-2.8/wx/dc.h:989: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp: In member function ‘void CBarShader::Draw(wxDC*, int, int, bool)’:
BarShader.cpp:208: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp: In member function ‘void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)’:
BarShader.cpp:233: error: variable ‘wxBrush brush’ has initializer but incomplete type
BarShader.cpp:233: error: ‘WxColourFromCr’ was not declared in this scope
BarShader.cpp:234: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:235: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:248: error: variable ‘wxPen pen’ has initializer but incomplete type
BarShader.cpp:248: error: invalid use of incomplete type ‘struct wxColour’
/usr/include/wx-2.8/wx/colour.h:19: error: forward declaration of ‘struct wxColour’
BarShader.cpp:249: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:252: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:255: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:259: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
make[3]: *** [libmuleappgui_a-BarShader.o] Errore 1
make[2]: *** [all-recursive] Errore 1
make[1]: *** [all-recursive] Errore 1
make: *** [all] Errore 2
$