aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050321 - Compîlation error  (Read 3266 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
20050321 - Compîlation error
« on: March 21, 2005, 07:10:08 AM »

Quote

amuleDlg.cpp: In member function `void CamuleDlg::ToogleED2KLinksHandler()':
amuleDlg.cpp:277: error: no matching function for call to `wxSizer::IsShown()'
/usr/include/wx-2.5/wx/sizer.h:432: error: candidates are: bool wxSizer::IsShown(wxWindow*) const
/usr/include/wx-2.5/wx/sizer.h:433: error:                 bool wxSizer::IsShown(wxSizer*) const
/usr/include/wx-2.5/wx/sizer.h:434: error:                 bool wxSizer::IsShown(unsigned int) const
amuleDlg.cpp:783:10: warning: #warning This will be here till the core close is != app close
make[4]: *** [amule-amuleDlg.o] Erreur 1
make[3]: *** [all-recursive] Erreur 1
make[2]: *** [all] Erreur 2
make[1]: *** [all-recursive] Erreur 1
make: *** [all] Erreur 2

Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20050321 - Compîlation error
« Reply #1 on: March 21, 2005, 12:35:28 PM »

Fixed for next tarball. Patch attached.
Logged

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: 20050321 - Compîlation error
« Reply #2 on: March 21, 2005, 03:22:18 PM »

Quote
Originally posted by Kry
Fixed for next tarball. Patch attached.

how to apply the patch?

thanks
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050321 - Compîlation error
« Reply #3 on: March 21, 2005, 03:26:25 PM »

patch < patch_file

in the src folder

btw: man patch ;)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: 20050321 - Compîlation error
« Reply #4 on: March 21, 2005, 03:29:10 PM »

Quote
Originally posted by stefanero
patch < patch_file

in the src folder

btw: man patch ;)

well i run patch < amuleDlg_21.patch but i get:

Code: [Select]
can't find file to patch at input line 9
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: amuleDlg.cpp
|===================================================================
|RCS file: /opt/cvs/amule-dev-cvs/src/amuleDlg.cpp,v
|retrieving revision 1.200
|retrieving revision 1.201
|diff -u -r1.200 -r1.201
|--- amuleDlg.cpp       21 Mar 2005 04:44:06 -0000      1.200
|+++ amuleDlg.cpp       21 Mar 2005 11:20:58 -0000      1.201
--------------------------

i am in the amule-cvs folder and the patch file is in the folder.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050321 - Compîlation error
« Reply #5 on: March 21, 2005, 03:36:57 PM »

are you in
amule-cvs folder
or in
amule-cvs/src ?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: 20050321 - Compîlation error
« Reply #6 on: March 21, 2005, 03:57:41 PM »

now i wasn't in the src folder, i applied the patch but still the same, the exact error is in the original topis:
http://forum.amule.org/thread.php?threadid=5452&sid=&threadview=0&hilight=&hilightuser=0&page=4
Logged