Re: WHERE IS gtk/gtk.h



gtk.h is not located in the standard libraries and include files path for the 
compiler. on my rh7.3 system, this ia what i had to add to my Makefile for my 
programs to compile.
Jeffrey

LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0 
-lpangoxft-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 

INCLUDES = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 




On Monday 19 August 2002 09:50 am, Maya wrote:
Using ANJUTA and the prompt, I am trying to compile the folowing
program:
#include <gtk/gtk.h>
int main()
{
      return(0);
}
But buth give me an error saying that the "gtk/gtk.h" file could not be
found?

I have tried doing some modifications on './profile', but to no avail.
Hoping that someone here will be able to tell me what I am doing wrong
I have attached the './profile'. Please do have a look at it and tell
me what am doing wrong.
TIA




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