aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation problem with --enable-amule-gui  (Read 3802 times)

setabi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Compilation problem with --enable-amule-gui
« 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.
Logged

lfroen

  • Guest
Re: Compilation problem with --enable-amule-gui
« Reply #1 on: March 25, 2005, 09:25:47 PM »

What wx is that ?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation problem with --enable-amule-gui
« Reply #2 on: March 25, 2005, 09:27:38 PM »

Which wx?
Logged

setabi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Compilation problem with --enable-amule-gui
« Reply #3 on: March 25, 2005, 10:30:31 PM »

wxGTK-2.5.3 compiled with gtk2 no_wxgtk1 unicode use flags
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation problem with --enable-amule-gui
« Reply #4 on: March 25, 2005, 10:38:04 PM »

including the wxCheckBox header would fix probably.
Logged

lfroen

  • Guest
Re: Compilation problem with --enable-amule-gui
« Reply #5 on: March 26, 2005, 06:49:38 AM »

Fixed pls try again on tomorrow snapshot
Logged

setabi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Compilation problem with --enable-amule-gui
« Reply #6 on: March 27, 2005, 08:28:27 PM »

Ok, with lastest snapshot it works. Thanks
Logged