aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: HowTo compile aMule on Windows  (Read 30820 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: HowTo compile aMule on Windows
« Reply #15 on: February 14, 2005, 04:53:26 PM »

Did you try what I said?
Logged

antenon

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: HowTo compile aMule on Windows
« Reply #16 on: February 14, 2005, 05:29:13 PM »

yes,

#include
class CMuleListCtrl : public wxListCtrl

The failure might be wxListCtrl is unKnown at the step of compilation, that suposed to be included in file "wx/listctrl.h"
anybody Suggest me a method to be able to know if really wx/listctrl.h is been included or  to determine if wxListCtrl has been declared?
Logged

antenon

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: HowTo compile aMule on Windows
« Reply #17 on: February 14, 2005, 05:32:59 PM »

(I refeared to something like #warning or so )
Logged

antenon

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: HowTo compile aMule on Windows
« Reply #18 on: February 14, 2005, 06:04:37 PM »

53 #ifdef __WXMSW__
54   #include
55
56 wxListCtrl prueba; //new (test)
57
58   class CMuleListCtrl : public wxListCtrl
59 #else
60   #include "listctrl_gen.h"
61   class CMuleListCtrl : public wxODListCtrl
62 #endif


Compiling...
SearchListCtrl.cpp
In file included from src\SearchListCtrl.h:32,
from src\SearchListCtrl.cpp:26:
src\MuleListCtrl.h:56: error: 'wxListCtrl' is used as a type, but is not
defined as a type.

ummmm, this means something......?
« Last Edit: February 14, 2005, 06:06:25 PM by antenon »
Logged

antenon

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: HowTo compile aMule on Windows
« Reply #19 on: February 14, 2005, 08:20:17 PM »

Ive just solved the problem
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: HowTo compile aMule on Windows
« Reply #20 on: February 15, 2005, 01:36:17 AM »

nice ;)
Logged

rebroad

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://stardate.no-ip.com
does it compile on ReactOS...?
« Reply #21 on: May 02, 2005, 12:13:13 AM »

Subject says it all really...
Logged

rebroad

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
    • http://stardate.no-ip.com
RE: HowTo compile aMule on Windows
« Reply #22 on: May 02, 2005, 12:33:38 AM »

Quote
Originally posted by Jacobo221
The HowTo on how to compile aMule on Windows platforms is now on WIki at
http://www.amule.org/wiki/index.php/HowTo_compile_on_Win32

It's just the same as the document in sources, but in rich format.

Check out the discussion page also: http://www.amule.org/wiki/index.php/Talk:HowTo_compile_on_Win32
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4249
Re: HowTo compile aMule on Windows
« Reply #23 on: May 02, 2005, 08:02:49 AM »

well since there have been a lot of fixes for win32 lately it compiles now fine under windowze with wx-2.6.....
just configure and make
when its done you have win32 binary ;)
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."

kab

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
RE: HowTo compile aMule on Windows
« Reply #24 on: June 05, 2005, 01:02:28 PM »

I have compilled aMule 2.0.2 without problems. It works fine under WindowsXP. The only thing that not work is the ed2k link handler. Does somebody know how I can fix it?
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2758
Re: HowTo compile aMule on Windows
« Reply #25 on: August 29, 2005, 10:38:59 AM »

the ed2k link handler doesn't work on Windows yet
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 140
Re: HowTo compile aMule on Windows
« Reply #26 on: January 23, 2008, 12:23:33 PM »

I have been following the wiki about how to compile amule in Windows

I configured like this:

Code: [Select]
./configure --disable-monolithic --disable-ed2k --enable-amule-gui --disable-debug --enable-optimize
But the output exe is about 80 Mb.

1: how can i reduce the size of the exe?

Sometimes the program just crashes leaving no clue of what happened:

2: How am i supossed to get the information of the crashes?

thanks
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4379
Re: HowTo compile aMule on Windows
« Reply #27 on: January 23, 2008, 12:47:11 PM »

1. strip the exe. (strip amule.exe), then it should be about 3mb zipped. have you compiled wx with --disable-debug and enable-optimize as well?

2. In this case it is better to enable debug. But starting the program in a terminal (minsys) will already give you some more information about the crash.

BTW: Which version are you using? Did you compile crypto++ by hand?
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 140
Re: HowTo compile aMule on Windows
« Reply #28 on: January 23, 2008, 02:54:45 PM »

cryptopp552 <- by hand

wxMSW-2.8.7 <- compiling just now after configuring like this:

Code: [Select]
./configure --enable-unicode --disable-shared --without-checklistbox --disable-debug --enable-optimize
I still have some issues enabling the geoip feature.... can u give me a clue on how to compile the headers i need for this?

thanks......
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4379
Re: HowTo compile aMule on Windows
« Reply #29 on: January 23, 2008, 03:48:50 PM »

I'm sorry, I tried to compile libgeoip, but it needs mmap/munmap functions, which are Unix functions. I don't have enough to time to find a hack for this (I'm sure there's a wrapper or something already available), but I'll try it with MS VC++ in the following days.
Logged
Pages: 1 [2] 3