Re: extra X libs dependencies in a simple glib mainloop



On Tue, Jan 16, 2007 at 03:50:50PM -0500, zentara wrote:
> 
> Can you compile a glib program so it dosn't require the X libs?

Of course...

> Also, why dosn't this compile it? Using just glib in pkgconfig?
> gcc  -o test  test.c  `pkg-config --cflags --libs glib-2.0`

...precisely this way, it compiles your program and it
works then.

Since no one knows what errors you got, no one can tell you
what went wrong.

But most often there is a typo in `pkg-config --cflags --libs glib-2.0`
that makes pkg-config silently fail.

Yeti


--
Whatever.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]