hi,
I wrote the following program just to start off programming Gtk
#include <gtk/gtk.h>
int main (int argc,char **argv)
{
GtkWidget *window;
gtk_init (argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
gtk_main ();
return 0;
}
When I ran
gcc -o gtk1 gtk1.c `pkg-config --cflags --libs gtk+-2.0`
It didnt compile and says unknown library gtk
I checked with gtk-demo and the listing shows up and gtk is installed on my
system.
What is the problem. Please help me out.
Regards,
Vivek
--
Put a rogue in the limelight and he will act like an honest man.
-- Napoleon Bonaparte, "Maxims"
_______________________________________________
gnome-love mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-love