[cairo] basic question

Gerdus van Zyl gerdusvanzyl at gmail.com
Mon Nov 17 07:30:02 PST 2008


You do realize that program in the FAQ just outputs a png? No window
is expected. So check if the hello.png file is being generated. If you
wish your cairo to display an interactive window check out gtk which
you can use with cairo.

~Gerdus

On Mon, Nov 17, 2008 at 4:34 PM, antónio abreu <antnioabreu at yahoo.com> wrote:
> Hi all.
>
> I have a pretty basic question for which I request assistance.
>
> I installed cairo by typing sudo apt-get install libcairo2-dev in my ubuntu
> distribution. Then I compiled the program in the "Getting Started - What
> would a minimal C program look like using cairo?" by typing the command gcc
> -I /usr/include/cairo -L /usr/lib -lcairo -o h cairo1.c,  and to my surprise
> nothing happens when I run it. I was expecting a window to appear, but
> nothing happens; the command line and the cursor just appear as if I hit
> enter. Any suggestion about what I might be doing wrong?
>
> Thanks.
> AA
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list