aMule Forum

English => Compilation problems => Topic started by: droehner on February 19, 2008, 01:39:04 PM

Title: amule-daemon on windows
Post by: droehner 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
Title: Re: amule-daemon on windows
Post by: GonoszTopi 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.
Title: Re: amule-daemon on windows
Post by: droehner 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.
Title: Re: amule-daemon on windows
Post by: GonoszTopi 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.
Title: Re: amule-daemon on windows
Post by: droehner 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.
Title: Re: amule-daemon on windows
Post by: Kry 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.
Title: Re: amule-daemon on windows
Post by: droehner 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.
Title: Re: amule-daemon on windows
Post by: Kry 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 ;)