[10480] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Help gtk+-1.0.1 !!!!

daemon@ATHENA.MIT.EDU (D. Emilio Grimaldo Tunon)
Fri Nov 27 03:45:34 1998

Date: Fri, 27 Nov 1998 09:41:02 +0100
From: "D. Emilio Grimaldo Tunon" <emilio_tunon@nl.compuware.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Marcus Brito wrote:
> 
> >  No soy muy ducho en ingles y espero que alguno de Uds. entienda el
> > espaņol, soy nuevo en la lista y tambien en el mundo de GTK.
> 
> Entiendo um poco de espaņol, mas falo portugues. Espero que me entiendas :)

Have no fear non-Spanish/Portuguese speaking people :)


> > /tmp/cca271821.o(.text+0x32): undefined reference to `gtk_main'
> 
> Precisas informar a el compilador para usar a biblioteca gtk, assim:
> 
> g++ -lgtk pru.cc
> 
> Espero ter ajudado!

 That's correct, to specify the gtk libraries but it also needs
as far as I know the gdk glib libraries. In any case a more
portable way is to have:

        g++ `/opt/bin/gtk-config --libs` pru.cc

those are BACK quotes, this Netscape mailer is showing them as
forward quotes so excuse my netscape...

			Cheers,
				Em

-- 
D. Emilio Grimaldo Tunon       Compuware Europe B.V. (Uniface Lab)
Software Engineer	       Amsterdam, The Netherlands
emilio_tunon@nl.compuware.com  Tel. +31 (0)20 3126 516
*** The opinions expressed hereby are mine and not my employer's ***

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post