RE: How to Complie



Hello

Actually, if you are using GTK-- (the C++ API) and not GTK (the C API),
then you should use:

     g++ `gtkmm-config --cflags --libs` your_program.cc

(Note that I'm using gtkmm-config and not gtk-config.  Also note that
those are back-quote... usually found near the top left corner of you
keyboard.)

See ya

     Charles Iliya Krempeaux
     tnt @ linux.ca
     ckrempea @ alumni.sfu.ca


On Fri, 2001-10-19 at 00:13, Riswick, J.G.A. van wrote:
> 
>  HI
> 
> did you include all header paths when calling gcc?
> Have a look at gtk-config. This outputs a number
> of -I options that gcc needs. You can use it like this
> for instance:
> 
> gcc `gtk-config --cflags --libs` your_program.c
> 
> best regards
> 
> jos
> 
> -----Original Message-----
> From: Diwakar
> To: GNOME Mail (E-mail)
> Sent: 10/19/01 6:30 AM
> Subject: How to Complie
> 
> 
> Hi,
> 
> I am new to this GTK stuff. I am doing a self learning throught the net.
> However I have some examples downloaded such as this.
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list




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