[Ilugc] gtk configuration problem
- From: shan_karthic@xxxxxxxxx (Shankar Karthic Nagarathinam)
- Date: Sun, 25 Aug 2002 23:14:08 -0700 (PDT)
A simple program of the sort
#include <gtk/gtk.h>
int main()
{
return 1;
}
gives me compilation error that gtk/gtk.h is not found.
Using find
command, I found that it is located at
/usr/local/include. This directory
contains a file gtk.h (which I require) and a directory
by the name gtk.
use
#include <gtk.h>
since gtk.h is found under the include directory and not
under gtk sub-directory.
The file gtk has many files as "included files"
that are present in
/usr/local/include/gtk.
as a precaution check whether the files included by gtk.h
are included as #include <gtk/file.h>.
if not edit the gtk.h file to prefix the filename with
gtk/ in the include preprocessor directive.
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Other related posts: