www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Event library

reply Pedro Lacerda <pslacerda gmail.com> writes:
--0015175cab46f28de304b876a25e
Content-Type: text/plain; charset=UTF-8

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

--0015175cab46f28de304b876a25e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi all,<div><br></div><div>I&#39;m trying to do some evented programming an=
d found libev at Deimos. I just want to</div><div><br></div><div><font face=
=3D"&#39;courier new&#39;, monospace">=C2=A0 =C2=A0 auto loop =3D=C2=A0ev_d=
efault_loop(0);</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<span style=3D"font-family:arial,helvetica,sans-serif">However I have no id=
ea how to compile it.</span></div><div><div><br></div><div>thanks,</div>Ped=
ro Lacerda<br>

<br>
</div>

--0015175cab46f28de304b876a25e--
Feb 08 2012
next sibling parent 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
prev sibling parent Pedro Lacerda <pslacerda gmail.com> writes:
--0015175cd10c6bbb6404b877f8f9
Content-Type: text/plain; charset=UTF-8

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

--0015175cd10c6bbb6404b877f8f9 Content-Type: text/html; charset=UTF-8 Oh thanks, man.<br clear="all"><div><br></div>Pedro Lacerda<br><br> <br><br><div class="gmail_quote">2012/2/8 bheads <span dir="ltr">&lt;<a href="mailto:bheads barracuda.com">bheads barracuda.com</a>&gt;</ pan><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> On Wed, 08 Feb 2012 14:46:06 -0200, Pedro Lacerda wrote:<br> <br> You need to set the right libev version, and link with libev<br> <br> dmd main.d deimos/ev.d -I&lt;path to deimos&gt; -L-lev -version=LIBEV4<br> <br> </blockquote></div><br> --0015175cd10c6bbb6404b877f8f9--
Feb 08 2012