aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Erreur lors de la compilation: BarShader.cpp  (Read 2181 times)

jop

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Erreur lors de la compilation: BarShader.cpp
« on: January 19, 2006, 07:37:48 PM »

Salut!

J'ai désinstallé la version 2.0.3 pour mettre la version 2.1.0
J'ai du installer la version 2.8.10 de GTK+ et la version 2.6.4 de WxBase
Tout ce passe bien
Mais quand j'essaie de compiler amule j'ai ça lors du make:

BarShader.cpp:28:23: wx/gdicmn.h: No such file or directory
BarShader.cpp:29:19: wx/dc.h: No such file or directory
BarShader.cpp: In member function `void CBarShader::Draw(wxDC*, int, int, bool)':
BarShader.cpp:164: error: aggregate `wxRect rectSpan' has incomplete type and cannot be defined
BarShader.cpp:170: error: invalid use of undefined type `struct wxDC'
BarShader.h:34: error: forward declaration of `struct wxDC'
BarShader.cpp:170: error: `wxTRANSPARENT_PEN' undeclared (first use this function)
BarShader.cpp:170: error: (Each undeclared identifier is reported only once for each function it appears in.)
BarShader.cpp:231: error: no matching function for call to `CBarShader::FillRect(wxDC*&, , uint32&, bool&)'
BarShader.h:190: note: candidates are: void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)
BarShader.cpp:247: error: no matching function for call to `CBarShader::FillRect(wxDC*&, , uint32&, bool&)'
BarShader.h:190: note: candidates are: void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)
BarShader.cpp: In member function `void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)':
BarShader.cpp:258: error: `wxBrush' undeclared (first use this function)
BarShader.cpp:258: error: expected `;' before "brush"
BarShader.cpp:259: error: invalid use of undefined type `struct wxDC'
BarShader.h:34: error: forward declaration of `struct wxDC'
BarShader.cpp:259: error: `brush' undeclared (first use this function)
BarShader.cpp:260: error: invalid use of undefined type `struct wxDC'
BarShader.h:34: error: forward declaration of `struct wxDC'
BarShader.cpp:262: error: invalid use of undefined type `const struct wxRect'
BarShader.h:33: error: forward declaration of `const struct wxRect'
BarShader.cpp:263: error: invalid use of undefined type `const struct wxRect'
BarShader.h:33: error: forward declaration of `const struct wxRect'
BarShader.cpp:263: error: invalid use of undefined type `const struct wxRect'
BarShader.h:33: error: forward declaration of `const struct wxRect'
BarShader.cpp:264: error: invalid use of undefined type `const struct wxRect'
BarShader.h:33: error: forward declaration of `const struct wxRect'
BarShader.cpp:265: error: invalid use of undefined type `const struct wxRect'
BarShader.h:33: error: forward declaration of `const struct wxRect'
BarShader.cpp:273: error: `wxPen' undeclared (first use this function)
BarShader.cpp:273: error: expected `;' before "pen"
BarShader.cpp:274: error: invalid use of undefined type `struct wxDC'
BarShader.h:34: error: forward declaration of `struct wxDC'
BarShader.cpp:274: error: `pen' undeclared (first use this function)
BarShader.cpp:277: error: invalid use of undefined type `struct wxDC'
BarShader.h:34: error: forward declaration of `struct wxDC'
BarShader.cpp:280: error: invalid use of undefined type `struct wxDC'
BarShader.h:34: error: forward declaration of `struct wxDC'
BarShader.cpp:269: warning: unused variable 'cRed'
BarShader.cpp:270: warning: unused variable 'cGreen'
BarShader.cpp:271: warning: unused variable 'cBlue'
BarShader.cpp:284: error: invalid use of undefined type `struct wxDC'
BarShader.h:34: error: forward declaration of `struct wxDC'
BarShader.cpp:284: error: `wxNullBrush' undeclared (first use this function)
make[3]: *** [libmuleappgui_a-BarShader.o] Erreur 1
make[3]: Leaving directory `/home/jop/program/noncpmpile/archives/aMule-2.1.0/src'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/jop/program/noncpmpile/archives/aMule-2.1.0/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/jop/program/noncpmpile/archives/aMule-2.1.0'
make: *** [all] Erreur 2


J'ai essayer de modifier le fichier BarShader.cpp en lui mettant manuellement l'emplacement des 2 fichier s manquant mais c'est encore pire...

Pour info je suis sur mandrake 10.1

Des idées?
Merci d'avance
Logged