how to include gtk header file in gtk.
- From: "jayarajuc" <jayarajuc mic co in>
- To: <gtk-list gnome org>
- Subject: how to include gtk header file in gtk.
- Date: Wed, 23 Aug 2006 16:42:48 +0530
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 mic co in immediately and DESTROY all copies of this message and any attachmeents.
------------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]