aMule Forum

English => Compilation problems => Topic started by: setabi on March 25, 2005, 08:55:28 PM

Title: Compilation problem with --enable-amule-gui
Post by: setabi on March 25, 2005, 08:55:28 PM
Hi folks,
I'm trying to build up aMule-CVS-20050325.tar.bz2 downloaded from http://www.hirnriss.net, but when I try to compile with --enable-amule-gui I got this error:
Code: [Select]
amule-remote-gui.cpp: In member function `void CEConnectDlg::OnOK(wxCommandEvent&)':
amule-remote-gui.cpp:157: error: cannot dynamic_cast `((wxWindowBase*)this)->wxWindowBase::FindWindow(10352l)' (of type `class wxWindow*') to type `struct wxCheckBox*' (target is not pointer or reference to complete type)
amule-remote-gui.cpp: In member function `virtual void CamuleRemoteGuiApp::NotifyEvent(const GUIEvent&)':
amule-remote-gui.cpp:496: warning: char format, different type arg (arg 2)
amule-remote-gui.cpp: At global scope:
amule-remote-gui.cpp:637: warning: unused parameter 'url'
amule-remote-gui.cpp:656: warning: unused parameter 'address'
amule-remote-gui.cpp:656: warning: unused parameter 'port'
amule-remote-gui.cpp:1372: warning: unused parameter 'bIgnoreNoNeeded'
amule-remote-gui.cpp:1372: warning: unused parameter 'ignoreSuspensions'
amule-remote-gui.cpp:1372: warning: unused parameter 'bRemoveCompletely'
amule-remote-gui.cpp:1372: warning: unused parameter 'toFile'
make[4]: *** [amulegui-amule-remote-gui.o] Error 1
make[4]: Leaving directory `/home/luca/tmp/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/luca/tmp/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/luca/tmp/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/luca/tmp/amule-cvs'
make: *** [all] Error 2
Any help would be appreciated.
Title: Re: Compilation problem with --enable-amule-gui
Post by: lfroen on March 25, 2005, 09:25:47 PM
What wx is that ?
Title: Re: Compilation problem with --enable-amule-gui
Post by: Kry on March 25, 2005, 09:27:38 PM
Which wx?
Title: Re: Compilation problem with --enable-amule-gui
Post by: setabi on March 25, 2005, 10:30:31 PM
wxGTK-2.5.3 compiled with gtk2 no_wxgtk1 unicode use flags
Title: Re: Compilation problem with --enable-amule-gui
Post by: Kry on March 25, 2005, 10:38:04 PM
including the wxCheckBox header would fix probably.
Title: Re: Compilation problem with --enable-amule-gui
Post by: lfroen on March 26, 2005, 06:49:38 AM
Fixed pls try again on tomorrow snapshot
Title: Re: Compilation problem with --enable-amule-gui
Post by: setabi on March 27, 2005, 08:28:27 PM
Ok, with lastest snapshot it works. Thanks