04-18-07 12:19 PM
Hi all,
I am doing some C / C++ programming in cygwin and I notice when I add
something to my path then try to compile, the gcc / g++ compiler
cannot find some files, even though they are in the directory I may
have just added to my path.
For example I have copied the example program from http://www.gtk.org/tutorial/c39
.html
and when I compiled it, the compiler couldn't find gtk/gtk.h.
I thought to solve this I would have to add the path to gtk/gtk.h to
my path and so I did;
> PATH=$PATH:/usr/include/gtk-2.0
then I compiled again and while it found gtk.h it could not find a lot
of other gtk headers, such as gtktext.h. However this and the other
files which were not found are also in /usr/include/gtk-2.0 and they
are included as <gtk/gtktext.h>.
I'm guessing that my path has not been set right but I'm fumbling in
the dark. If someone could help it would be greatly appreciated.
John
[ Post a follow-up to this message ]
|