aMule Forum

English => Multiplatform => Mac OSX => Topic started by: Sarge on March 21, 2004, 05:34:12 PM

Title: cvs from 21-03-04
Post by: Sarge on March 21, 2004, 05:34:12 PM
Hi!

Tried wxMac as suggested, but 2.4.2 doesn't compile on my machine. 2.5.1 does, so I installed it with the --enable-compat22 switch to make it wxwindows 2.2 compatible (I used it with --disable-compat24, but without any difference).

However, see for yourself:

Quote

In file included from ECSocket.cpp:22:
endianfix.h:35:10: warning: #warning BIG ENDIAN BOX
g++  -I/usr/include  -g     -o amulecmd  amulecmd-TextClient.o amulecmd-MD5Sum.o amulecmd-ECSocket.o -L/sw/lib -framework Carbon -framework System -lwx_mac_html-2.5 -lwx_mac_adv-2.5 -lwx_mac_core-2.5 -lwx_base_carbon_xml-2.5 -lwx_base_carbon_net-2.5 -lwx_base_carbon-2.5 -L/usr/lib -lcurl  -arch ppc -lz -lssl -lcrypto -lz -lcryptopp
ld: Undefined symbols:
vtable for ECSocket
make[2]: *** [amulecmd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


If configured with --disable-amulecmd, I get this:

Quote

AddFriend.cpp:57: error: invalid static_cast from type `void
   (CAddFriend::*)(wxEvent&)' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
AddFriend.cpp:58: error: invalid static_cast from type `void
   (CAddFriend::*)(wxEvent&)' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
make[2]: *** [amule-AddFriend.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Hope this helps a bit, thanks, Sarge
Title: Re: cvs from 21-03-04
Post by: deltaHF on March 21, 2004, 05:39:25 PM
plz try to recompile wxmac 2.4.2 using this changes -> http://cvs.wxwidgets.org/viewcvs.cgi/wxWindows/src/mac/dc.cpp.diff?r1=1.56.2.11&r2=1.56.2.12

greets