Re: Output of gnome-config



* Sydney Weidman (Sydney_Weidman@mbnet.mb.ca) wrote:
> Hi all!
> I'm new to gnome programming and I have a question about building gnome
> apps. I'm using glade and then managing the sources with C-Forge (or
> 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?

Don't use C-forge or glade myself, but don't you call
gnome-config --cflags gnomeui
and
gnome-config --libs gnomeui

(gnomeui can be replaced with gnome, applets, glib, etc, as specified by
gnome-config --help)

Does that help?

Tom.
-- 
            .-------------------------------------------------------.
    .^.     | Tom Gilbert, England | tom@tomgilbert.freeserve.co.uk |
    /V\     |----------------------| www.tomgilbert.freeserve.co.uk |
   // \\    | Sites I recommend:   `--------------------------------|
  /(   )\   | www.freshmeat.net www.enlightenment.org www.gnome.org |
   ^^-^^    `-------------------------------------------------------'



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