Re: [gnome-love] gnome-love Digest, Vol 36, Issue 4
- From: Don Scorgie <Don Scorgie org>
- To: vivek shah <boni vivek gmail com>
- Cc: gnome-love gnome org
- Subject: Re: [gnome-love] gnome-love Digest, Vol 36, Issue 4
- Date: Tue, 10 Apr 2007 20:02:43 +0100
Hi,
On Wed, 2007-04-11 at 00:19 +0530, vivek shah wrote:
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
Do you have the equivalent -dev package on you're system? (i.e.
libgtk2.0-dev)? This will be dependant on which system you're using,
but if you're using a Linux distribution, this package (or a similarly
named one) should be available through you're package manager.
If this doesn't help, if you reply with what system (distro) you're
using, maybe someone can help further.
Thanks
Don
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]