www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Event library

reply Pedro Lacerda <pslacerda gmail.com> writes:
Hi all,

I'm trying to do some evented programming and found libev at Deimos. I just
want to

    auto loop = ev_default_loop(0);

However I have no idea how to compile it.

thanks,
Pedro Lacerda
Feb 08 2012
parent reply bheads <bheads barracuda.com> writes:
On Wed, 08 Feb 2012 14:46:06 -0200, Pedro Lacerda wrote:

You need to set the right libev version, and link with libev

dmd main.d deimos/ev.d -I<path to deimos> -L-lev -version=LIBEV4
Feb 08 2012
parent Pedro Lacerda <pslacerda gmail.com> writes:
Oh thanks, man.

Pedro Lacerda



2012/2/8 bheads <bheads barracuda.com>

 On Wed, 08 Feb 2012 14:46:06 -0200, Pedro Lacerda wrote:

 You need to set the right libev version, and link with libev

 dmd main.d deimos/ev.d -I<path to deimos> -L-lev -version=LIBEV4
Feb 08 2012