Re: extra X libs dependencies in a simple glib mainloop
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: extra X libs dependencies in a simple glib mainloop
- Date: Tue, 16 Jan 2007 22:13:19 +0100
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]