Re: Output of gnome-config



> attempting to). I was able to successfully compile all kinds of gtk+
> apps by using the 'gtk-config --cflags' and 'gtk-config --libs' macros
> to generate the compiler and linker options, but I can't seem to get any
> gnome apps compiled. When I try to add 'gnome-config --cflags' or
> 'gnome-config --libs' to the gcc or ld command line options, I still get
> errors. From the command line, gnome-config --libs produces no output at
> all. Is this normal, or is my installation screwed up?

You need to use `gtk-config --cflags gtk`  so it'll return the information
for gtk
for gnome-config use whatever library you need, eg, gnome gnomeui etc.
The same goes for glib-config where you need to add glib or gmodule or
gthreads (don't quote me on gthreads though).

Iain



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