Problema compilazione aMule 2.1.3 (con wxWidgets 2.8.0)
Inviato: gio 1 mar 2007, 22:38
Salve a tutti, scrivo perché mi accade una cosa piuttosto strana nella compilazione di aMule 2.1.3. Dopo aver preventivamente compilato wxWidgets 2.8.0 senza errori ho proceduto nel compilare aMule:
fin qui nessun errore
fin qui nessun errore
...i seguenti errori:
Sinceramente non ho la più pallida idea di come fare. I sorgenti e i consigli per compilarli sono di una rivista uscita pochi giorni fa. Ho provato altre vie, ottenendo solo altri errori (con configure o con make). Ho una Slackware 11, installazione completa. Qualcuno può aiutarmi? Vi ringrazio molto!
P.S. Non so se è questa la sezione giusta per un post del genere... semmai, potete farmelo presente e la prossima volta cercherò di non sbagliare!
Codice: Seleziona tutto
./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise; make; make install; ldconfigCodice: Seleziona tutto
./configure --disable-debug --enable-optimiseCodice: Seleziona tutto
makeCodice: Seleziona tutto
make installCodice: Seleziona tutto
In file included from /usr/include/wx-2.8/wx/image.h:19,
from /usr/include/wx-2.8/wx/gifdecod.h:19,
from MuleGifCtrl.cpp:26:
/usr/include/wx-2.8/wx/gdicmn.h: In member function `bool wxRect::Inside(int, int) const':
/usr/include/wx-2.8/wx/gdicmn.h:486: warning: declaration of 'y' shadows a member of 'this'
/usr/include/wx-2.8/wx/gdicmn.h:486: warning: declaration of 'x' shadows a member of 'this'
MuleGifCtrl.cpp: In member function `bool MuleGifCtrl::LoadData(const char*, int)':
MuleGifCtrl.cpp:69: error: no matching function for call to `wxGIFDecoder::wxGIFDecoder(wxMemoryInputStream*, int)'
/usr/include/wx-2.8/wx/gifdecod.h:104: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/usr/include/wx-2.8/wx/gifdecod.h:52: note: wxGIFDecoder::wxGIFDecoder()
MuleGifCtrl.cpp:70: error: 'class wxGIFDecoder' has no member named 'ReadGIF'
MuleGifCtrl.cpp:76: error: 'class wxGIFDecoder' has no member named 'GoFirstFrame'
MuleGifCtrl.cpp:78: error: no matching function for call to `wxGIFDecoder::ConvertToImage(wxImage*)'
/usr/include/wx-2.8/wx/gifdecod.h:82: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp: In member function `void MuleGifCtrl::Start()':
MuleGifCtrl.cpp:89: error: 'class wxGIFDecoder' has no member named 'GoLastFrame'
MuleGifCtrl.cpp: In member function `virtual wxSize MuleGifCtrl::GetBestSize()':
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp: In member function `void MuleGifCtrl::OnTimer(wxTimerEvent&)':
MuleGifCtrl.cpp:113: error: 'class wxGIFDecoder' has no member named 'GoNextFrame'
MuleGifCtrl.cpp:116: error: no matching function for call to `wxGIFDecoder::ConvertToImage(wxImage*)'
/usr/include/wx-2.8/wx/gifdecod.h:82: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to `wxGIFDecoder::GetDelay()'
/usr/include/wx-2.8/wx/gifdecod.h:65: note: candidates are: virtual long int wxGIFDecoder::GetDelay(unsigned int) const
MuleGifCtrl.cpp: In member function `void MuleGifCtrl::OnPaint(wxPaintEvent&)':
MuleGifCtrl.cpp:132: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:133: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetLeft'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetTop'
make[2]: *** [libmuleappgui_a-MuleGifCtrl.o] Error 1
make[2]: Leaving directory `/home/taddeim/packages/aMule-2.1.3/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/taddeim/packages/aMule-2.1.3/src'
make: *** [install-recursive] Error 1
P.S. Non so se è questa la sezione giusta per un post del genere... semmai, potete farmelo presente e la prossima volta cercherò di non sbagliare!