LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Error due to wxWidgets while installing aMule source package (http://www.linuxquestions.org/questions/linux-desktop-74/error-due-to-wxwidgets-while-installing-amule-source-package-507725/)

Unforgiven79 12-05-2006 02:28 PM

Error due to wxWidgets while installing aMule source package
 
Hi all,

I met a problem while trying to install aMule: as requested, I had formerly installed the wxWidgets package. Unfortunately, then the "make" command (run after the "configure" script) in the aMule source directory ends like this:

Quote:

/usr/local/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::wxGIF
Decoder(wxMemoryInputStream*, int)’
/usr/local/include/wx-2.8/wx/gifdecod.h:111: note: candidates are: wxGIFDecoder:
:wxGIFDecoder(const wxGIFDecoder&)
/usr/local/include/wx-2.8/wx/gifdecod.h:88: note: wxGIFDecoder::
wxGIFDecoder()
MuleGifCtrl.cpp:70: error: ‘class wxGIFDecoder’ has no member named ‘ReadGIF’
MuleGifCtrl.cpp:76: error: ‘class wxGIFDecoder’ has no member named ‘GoFirstFram
e’
MuleGifCtrl.cpp:78: error: no matching function for call to ‘wxGIFDecoder::Conve
rtToImage(wxImage*)’
/usr/local/include/wx-2.8/wx/gifdecod.h:103: note: candidates are: virtual bool
wxGIFDecoder::ConvertToImage(size_t, 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 ‘GetLogical
ScreenWidth’
MuleGifCtrl.cpp:105: error: ‘class wxGIFDecoder’ has no member named ‘GetLogical
ScreenHeight’
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnTimer(wxTimerEvent&)’:
MuleGifCtrl.cpp:113: error: ‘class wxGIFDecoder’ has no member named ‘GoNextFram
e’
MuleGifCtrl.cpp:116: error: no matching function for call to ‘wxGIFDecoder::Conv
ertToImage(wxImage*)’
/usr/local/include/wx-2.8/wx/gifdecod.h:103: note: candidates are: virtual bool
wxGIFDecoder::ConvertToImage(size_t, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to ‘wxGIFDecoder::GetD elay()’
/usr/local/include/wx-2.8/wx/gifdecod.h:80: note: candidates are: virtual long i nt wxGIFDecoder::GetDelay(size_t) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnPaint(wxPaintEvent&)’:
MuleGifCtrl.cpp:132: error: ‘class wxGIFDecoder’ has no member named ‘GetLogical ScreenWidth’
MuleGifCtrl.cpp:133: error: ‘class wxGIFDecoder’ has no member named ‘GetLogical ScreenHeight’
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/ale/Internet/p2p/aMule-2.1.3/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ale/Internet/p2p/aMule-2.1.3/src'
make: *** [install-recursive] Error 1
Can anybody explain which is my problem and how to solve it?

Thank you

dombrowsky 12-29-2006 03:35 AM

I don't have a clue.

your best bet is to go to the line of source code on which it is breaking, and start drilling.

rodrifra 03-24-2007 08:41 AM

Patch for aMule
 
I had the same problem with aMule, and here is the solution:

Go to

adunanza.net

It's in Italian, but you won't need to read much of it. Just follow the liks for the patches and download both to your computer. Patch aMule following the page instructions....

cat aMule-wx.patch | patch -p1
cat amuleadunanza3.11b1.patch | patch -p0

from the aMule directory.

Compile, install and you're done.

rodrifra 03-24-2007 08:42 AM

link
 
That was my 1st post so I couldn't post a link. Stupid rule, this is what keeps me away from posting answer werever I see a problem.
Well here's the link anyway

http://www.adunanza.net/forum/showpo...7&postcount=11


All times are GMT -5. The time now is 03:57 AM.