kingofkirin 发表于 2007-4-5 08:56:12

amule编译的错误

MuleGifCtrl.cpp: In member function ‘bool MuleGifCtrl::LoadData(const char*, int)’:
MuleGifCtrl.cpp:69: 错误:对 ‘wxGIFDecoder::wxGIFDecoder(wxMemoryInputStream*, int)’ 的调用没有匹配的函数
/usr/local/include/wx-2.8/wx/gifdecod.h:104: 附注:备选为: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/usr/local/include/wx-2.8/wx/gifdecod.h:52: 附注:         wxGIFDecoder::wxGIFDecoder()
MuleGifCtrl.cpp:70: 错误:‘class wxGIFDecoder’ 没有名为 ‘ReadGIF’ 的成员
MuleGifCtrl.cpp:76: 错误:‘class wxGIFDecoder’ 没有名为 ‘GoFirstFrame’ 的成员
MuleGifCtrl.cpp:78: 错误:对 ‘wxGIFDecoder::ConvertToImage(wxImage*)’ 的调用没有匹配的函数
/usr/local/include/wx-2.8/wx/gifdecod.h:82: 附注:备选为: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::Start()’:
MuleGifCtrl.cpp:89: 错误:‘class wxGIFDecoder’ 没有名为 ‘GoLastFrame’ 的成员
MuleGifCtrl.cpp: In member function ‘virtual wxSize MuleGifCtrl::GetBestSize()’:
MuleGifCtrl.cpp:105: 错误:‘class wxGIFDecoder’ 没有名为 ‘GetLogicalScreenWidth’ 的成员
MuleGifCtrl.cpp:105: 错误:‘class wxGIFDecoder’ 没有名为 ‘GetLogicalScreenHeight’ 的成员
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnTimer(wxTimerEvent&)’:
MuleGifCtrl.cpp:113: 错误:‘class wxGIFDecoder’ 没有名为 ‘GoNextFrame’ 的成员
MuleGifCtrl.cpp:116: 错误:对 ‘wxGIFDecoder::ConvertToImage(wxImage*)’ 的调用没有匹配的函数
/usr/local/include/wx-2.8/wx/gifdecod.h:82: 附注:备选为: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp:122: 错误:对 ‘wxGIFDecoder::GetDelay()’ 的调用没有匹配的函数
/usr/local/include/wx-2.8/wx/gifdecod.h:65: 附注:备选为: virtual long int wxGIFDecoder::GetDelay(unsigned int) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnPaint(wxPaintEvent&)’:
MuleGifCtrl.cpp:132: 错误:‘class wxGIFDecoder’ 没有名为 ‘GetLogicalScreenWidth’ 的成员
MuleGifCtrl.cpp:133: 错误:‘class wxGIFDecoder’ 没有名为 ‘GetLogicalScreenHeight’ 的成员
MuleGifCtrl.cpp:137: 错误:‘class wxGIFDecoder’ 没有名为 ‘GetLeft’ 的成员
MuleGifCtrl.cpp:137: 错误:‘class wxGIFDecoder’ 没有名为 ‘GetTop’ 的成员
make: *** 错误 1
make: Leaving directory `/home/Sherlock/aMule-2.1.3/src'
make: *** 错误 1
make: Leaving directory `/home/Sherlock/aMule-2.1.3/src'
make: *** 错误 1

我装了WXGTK2。8之后还是出了这个错。帮忙看下是不是还有哪个东西没装还是怎么着。2。6包的amule太容易崩了。

mandrakechina 发表于 2007-4-5 13:35:08

一般认为是wxgtk的版本不匹配。

minami 发表于 2007-4-30 19:35:18

我的编译也错误拉。。。。。。还没到make就完咯,直接./configure失败
提示说没有wxWidgets,可是到官方网站,也下载不了,怎么办呢?

winmaker 发表于 2007-5-11 21:06:32

aMule-2.1.3 须经过 patch 才能在 wxWidgets-2.8 以上编译
建议直接下 cvs 版本编译
页: [1]
查看完整版本: amule编译的错误