Re: [gnome-love] gnome-love Digest, Vol 36, Issue 4
- From: "vivek shah" <boni vivek gmail com>
- To: gnome-love gnome org
- Subject: Re: [gnome-love] gnome-love Digest, Vol 36, Issue 4
- Date: Wed, 11 Apr 2007 00:19:16 +0530
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]