My First GTK Program
- From: Srinivas Nayak <nayaksrinivas yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: My First GTK Program
- Date: Tue, 17 Apr 2001 09:58:52 -0700 (PDT)
Friends can anybody knowing GTK help me out.
i complied this program whose source code is given
below. the command that i gave was 
gcc base.c -o base `gtk-config --cflags --libs`
but all i got was this message
In file included from /usr/include/gdk/gdktypes.h 
In file included from /usr/include/gdk/gdk.h 
In file included from /usr/include/gdk/gtk.h 
glibconfig.h No such file or Directory.
can any one tell me how to compile my first GTK
program
Thanking you all In anticipation
Srinivas Nayak
------------------------------------------
/* example-start base base.c */
#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);
}
/* example-end */
 
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]