aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2.1.3 + Patch Adunanza + wxMac 2.8.3  (Read 2687 times)

lynx_deb

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
aMule 2.1.3 + Patch Adunanza + wxMac 2.8.3
« on: April 28, 2007, 12:15:52 PM »

Hi guys
i tried to compile aMule 2.1.3 with Adu Patch and wxMax 2.8.3

The wxWidgets are compiled successfully in Universal Binary, but when i try to compile aMule i got this error:

Code: [Select]
make[4]: Nothing to be done for `all-am'.
g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/Users/lynx/Desktop/Download/wxMac-2.8.3/lib/wx/include/mac-unicode-release-static-2.8
-I/Users/lynx/Desktop/Download/wxMac-2.8.3/include -I/Users/lynx/Desktop/Download/wxMac-2.8.3/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__
 -I./libs -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2  -c -o libmuleappgui_a-MuleGifCtrl.o `test -f 'MuleGifCtrl.cpp' || echo './'`MuleGifCtrl.cpp
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)'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/wx/gifdecod.h:104: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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*)'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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*)'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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()'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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'
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)'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/wx/gifdecod.h:104: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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*)'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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*)'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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()'
/Users/lynx/Desktop/Download/wxMac-2.8.3/include/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'
lipo: can't figure out the architecture type of: /var/tmp//ccPSt8ph.out
make[3]: *** [libmuleappgui_a-MuleGifCtrl.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

i've used this configuration mode

Code: [Select]
./configure --disable-systray --disable-gtk --enable-embedded_crypto --with-wx-config=../wxMac-2.8.3/wx-config --enable-cas --enable-webserver --enable-amulecmd
--disable-debug --enable-optimize --disable-dependency-tracking CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"

can someone help me?
thanks!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.1.3 + Patch Adunanza + wxMac 2.8.3
« Reply #1 on: April 30, 2007, 05:23:55 AM »

lynx_deb,

Search the forum for a patch to make aMule 2.1.3 compile under wx-2.8.x.

Cheers!
Logged