Re: [Libevent-users] libevent on windows

2008-11-26 Thread Matthew Weigel
majek04 wrote: Thanks. It works perfectly with VS 2008. To create a dll I had to: - apply changes your "patch" - remove the 'event-config.h' from main dir (not sure if that's needed) Yep, I noted it that in the message - I couldn't do that in a separate tarball, and I was too lazy to make

Re: [Libevent-users] libevent on windows

2008-11-26 Thread majek04
On Wed, Nov 26, 2008 at 14:45, Matthew Weigel <[EMAIL PROTECTED]> wrote: >> Was anyone able to build libevent on windows? > > http://monkeymail.org/archives/libevent-users/2008-November/001432.html Thanks. It works perfectly with VS 2008. To create a dll I had to: - apply changes your "patch" -

Re: [Libevent-users] libevent on windows

2008-11-26 Thread Matthew Weigel
majek04 wrote: > Hi! > > Was anyone able to build libevent on windows? http://monkeymail.org/archives/libevent-users/2008-November/001432.html I got it to build in Visual Studio 2005 this weekend, with some caveats. If you grab the tarball mentioned in that message, and make the changes I descr

[Libevent-users] libevent on windows

2008-11-26 Thread majek04
Hi! Was anyone able to build libevent on windows? Cheers! Marek Majkowski ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users

Re: [Libevent-users] libevent on windows: select() fails

2008-06-04 Thread Shiqing Fan
Hi Nick, Sometimes this means that you haven't called WSAStartup ? Winsock wants to be initialized. I was testing with the event-test, which is coming with Libevent source. Although I added WSAStartup, nothing was changed. Thanks, Shiqing ___

Re: [Libevent-users] libevent on windows: select() fails

2008-06-04 Thread Shiqing Fan
Hi Bas Verhoeven , Thanks for your reply. I believe the problem was that select() does not work on file descriptors on Windows, as it does on *NIX systems. Yes, that's right. But is there any way to fix it? Thanks, Shiqing ___ Libevent-users maili

Re: [Libevent-users] libevent on windows: select() fails

2008-06-03 Thread Bas Verhoeven
Shiqing Fan wrote: Hi all, Hi, I'm testing Libevent 1.3 with VS2005 on Windows. The same problem below there happens on my machine, select() always returns -1. Does anyone know the reason? Sorry for polling this old mail up, I just found someone has asked the same question that I got, but

Re: [Libevent-users] libevent on windows: select() fails

2008-06-03 Thread Nick Mathewson
On Tue, Jun 03, 2008 at 07:08:57PM +0200, Shiqing Fan wrote: > Hi all, > > I'm testing Libevent 1.3 with VS2005 on Windows. > > The same problem below there happens on my machine, select() always > returns -1. Does anyone know the reason? Sorry for polling this old > mail up, I just found some

Re: [Libevent-users] libevent on windows: select() fails

2008-06-03 Thread Shiqing Fan
Hi all, I'm testing Libevent 1.3 with VS2005 on Windows. The same problem below there happens on my machine, select() always returns -1. Does anyone know the reason? Sorry for polling this old mail up, I just found someone has asked the same question that I got, but no answer. Thanks a lot.

[Libevent-users] libevent on windows: select() fails

2008-03-13 Thread Bas Verhoeven
Hi, I have tried compiling libevent (svn, 1.3.99-trunk) for windows with MSVC 9 (Visual Studio 2008), after loads of fiddling I managed to compile the project with a few minor warnings, and I ended up with a "libevent.lib". I linked ws2_32.lib and got a bunchload of errors while initializing