how to include gtk header file in gtk.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi i am sameer.
                            I am working on a project for banking under 
linux.(Red Hat Linux 9.0)

we are asked to use
  1) GTK
  2)Mysql

I have worked succesfully on mysql,but the problem is with gtk.

when writing the program in gtk and trying to compile it is giving error.

I am writing the program and the error below.

#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 compilingthe program with the following statement
 gcc base.c -o base 'pkg-config --cflags --libs gtk+-2.0'

i am getting an error

unable to include directory 'gtk/gtk.h' .

i will be grateful for the solution .

thanking you.
sameer.


------------------------------------------------------------------------
Confidentiality Notice

The information contained in this Electronic Message and any ATTACHMENTs to this message are intended for the EXCLUSIVE USE of the ADDRESSEE(s) and may contain CONFIDENTIAL or PRIVILEGED information.  If you are not the intended recipient, please notify the SENDER at MIC or itsupport@xxxxxxxxx immediately and DESTROY all copies of this message and any attachmeents.

------------------------------------------------------------------------

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux