aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule-daemon on windows  (Read 3765 times)

droehner

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
amule-daemon on windows
« on: February 19, 2008, 01:39:04 PM »

Hi folks.

i was already asking these questions yesterday in IRC, but my machine crashed some minutes later.
so here i ask once more:

i read in the wiki that amule-daemon does not work in windows, does even not compile.
is this still the case with CVS version? and if, is it just compilation problems on windows, or are there unported dependencies?

because i am highly interested in running amule as daemon (or at least running amule without a GUI) on windows, so if you can give me info on the direction which needs work i think i can work on fixing this issue.

regards,

droehner
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: amule-daemon on windows
« Reply #1 on: February 19, 2008, 01:55:09 PM »

i read in the wiki that amule-daemon does not work in windows, does even not compile.
True.

is this still the case with CVS version?
Yes.

is it just compilation problems on windows, or are there unported dependencies?
amuled uses some features of wxWidgets that are not in the MSW port.
Logged
concordia cum veritate

droehner

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: amule-daemon on windows
« Reply #2 on: February 19, 2008, 05:13:15 PM »

amuled uses some features of wxWidgets that are not in the MSW port.

ok, i see. can you tell me if these features used are crucial, or if they could be encapsulated by #ifdefs and still have a working amuled.exe? i am not striving for having a complete windows service binary, just a commandline-online executable would be ok for now.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: amule-daemon on windows
« Reply #3 on: February 19, 2008, 08:13:06 PM »

If they weren't crucial you would have a working amuled in windows a long time ago.
Logged
concordia cum veritate

droehner

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: amule-daemon on windows
« Reply #4 on: February 19, 2008, 08:40:06 PM »

ok, let me state it the other way: i am interested to port the remaining unresolved dependencies to native WinAPI, or maybe another library. i then can supply patches for the project for review and eventual inclusion.
can you give me any information what dependencies these are, and what they do? would save me some time analysing.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amule-daemon on windows
« Reply #5 on: February 19, 2008, 10:21:28 PM »

The main problem is the socket classes and the event loop, but that's not trivial at all.
Logged

droehner

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: amule-daemon on windows
« Reply #6 on: February 19, 2008, 10:47:36 PM »

ok, thanks for the info.
i will have a look and see if i can implement these missing pieces.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amule-daemon on windows
« Reply #7 on: February 19, 2008, 11:24:18 PM »

The daemon should probably just have a wxWidgets event loop implementation and use the sockets as they're intended to use, not with undocumented wxWidgets classes. Too bad I'm retired ;)
Logged