RE: [Libevent-users] Visual C++ Projects

2011-06-30 Thread Kelly Brock
Unfortunately that cmake script is only for "finding" pre-installed libevents and won't be of any use to a Windows user more than likely. I use premake4 myself; I just like lua better than the CMake language. Here is a pair of premake scripts you can use if you can take a little time to rework it

Re: [Libevent-users] Visual C++ Projects

2011-06-30 Thread Kun Xi
I once played with libevent using cmake and msys. It is really fun: - free and familiar toolchain: gcc, gdb - portability - cross-compiling from linux host cmake can generate NMAKE makefile. I have never tried to use Visual C++. Each version of VS, msft changes the format, it requires you to u

[Libevent-users] Visual C++ Projects

2011-06-30 Thread Alexandre Parenteau
Hi, I'm new user to libevent, and quickly becoming a fan. I'd need some way to build libevent on Windows for a project (https://github.com/aubonbeurre/thrift/blob/alex-0.6.1/README.non.blocking.Windows). Yesterday I spent a (frustrating) day trying to use waf (as suggested on this list, nice too

[Libevent-users] Question on paired buffer events

2011-06-30 Thread Ed Day
In reading the documentation on paired buffer events, it says they can be used in "a networking program that needs to talk to itself". That is exactly what I have and this capability sounds like what I need to implement an internal queue. But the problem is these events do not seem to cause the e

[Libevent-users] Re: [Libevent-users] httpserver.cpp:190: error: invalid application of ‘sizeof’ to incomplete type ‘evkeyvalq’

2011-06-30 Thread Nir Soffer
On Thu, Jun 30, 2011 at 11:36 AM, 李白|字一日 wrote: > hi, all > i am trying to extract the query information from uri, > and i found the evkeyvalq is used in input_headers. > > so i copied the way the input_headers created by the following line: > > evkeyvalq *query = (evkeyvalq *)calloc(1, sizeof(

[Libevent-users] httpserver.cpp:190: error: invalid application of ‘sizeof’ to incomplete type ‘evkeyvalq’

2011-06-30 Thread 李白|字一日
hi, all i am trying to extract the query information from uri, and i found the evkeyvalq is used in input_headers. so i copied the way the input_headers created by the following line: evkeyvalq *query = (evkeyvalq *)calloc(1, sizeof(evkeyvalq)); but the compiler give the following error messag