[Glade-users] Including libs in Glade

Keith Minkler kminkler@jabber.com
Tue, 10 Apr 2001 13:31:24 -0500


--qKhyKP9HH88saeqA
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:
> Hello,
>=20
> 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 ?
>=20
> I suppose I have to have something in the makefile but I don't know what
> ? Could somenone help me ?
>=20
> Thanks
>=20
> Valery Avaux
>=20
> _______________________________________________
> Glade-users maillist  -  Glade-users@helixcode.com
> http://lists.helixcode.com/mailman/listinfo/glade-users
Keith Minkler

-------
Software Developer
Jabber.COM, Inc.
-------

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

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

iD8DBQE601F7mQjXLBmX48wRAh82AJ9zjnPXwPLlrCF1K/VKWkt6Gd+zfwCZAapp
oQEXflOs0eeAv3THBjY6nj8=
=e4EJ
-----END PGP SIGNATURE-----

--qKhyKP9HH88saeqA--