RE: Output of gnome-config



Tom's got it right.  You can view your gnome-config file to see what
libraries it supports.  Also, you can set multiple libraries in
gnome-config, as necessary:

`gnome-config --libs gnome gnomeui gtkmm`

-----Original Message-----
From: Tom Gilbert [mailto:gilbertt@tomgilbert.freeserve.co.uk]
Sent: Wednesday, September 01, 1999 1:18 PM
To: gnome-list@gnome.org
Subject: 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 |
   ^^-^^    `-------------------------------------------------------'


--
        FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
         To unsubscribe: mail gnome-list-request@gnome.org with
                       "unsubscribe" as the Subject.



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