[Glade-users] Including libs in Glade

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Sounds like you need a -I/path/to/lib parameter to gcc while compiling,
this sets that /path/to/lib into the search path for #include's...
the script gtk-config will do this for you, setting up all the paths
you need.. for example:

gcc -o myapp myapp.c `gtk-config --cflags --libs`

that will put all the needed gcc arguments on your gcc command line
as far as I know, the libglade files will be located in one of the
paths that gtk-config will setup for you

On Tue, Apr 10, 2001 at 12:06:29PM +0200, Valery Avaux wrote:
I would like to use with Glade the package gtkextra, in order to use Gtk
Plot. So I put all that was needed in the C and H files #include <...>
but I get an error while compiling. I suppose GCC doesn't take the
options -lgtkextra while compiling. What can I do to make it includes
while compiling ?
I suppose I have to have something in the makefile but I don't know what
? Could somenone help me ?
Valery Avaux
Glade-users maillist  -  Glade-users helixcode com
Keith Minkler

Software Developer
Jabber.COM, Inc.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org



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