On Wed, 2003-07-16 at 16:29, saurabh singh wrote:
> hi ,
>   I make a simple prog in gtk+
Decide now ?? gtk+ or gnome .
I am assuming gnome.
> when i include <gnome.h> library file .
> but when i compile prog by gcc command then it says the "gnome.h: 
> no such file or directory found".
Assuming a single C file first.c and any includes in current directory
and obviously included with "" and not <>.
gcc -o first first.c -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl 
-lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome 
-lgnomesupport -lesd -laudiofile -lm -lglib -I/usr/include/gnome-1.0 
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
That works for me.

-Tarun
-- 
http://www.tarundua.net
Nothing you ever wanted to find about Tarun Dua


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to