From: Tuomo L. <dj...@ik...> - 2007-01-23 15:52:31
|
gintare statkute wrote: > These lines in project1.c looks: > #include <gtk/gtk.h> > #include <glade/glade.h> > > the directories are included in Environmental variables in the INCLUDE as: > C:\GTK\include\gtk-2.0\gtk;C:\GTK\include\libglade-2.0\glade; ... > project1.c : > #include "C:/GTK/include/gtk-2.0/gtk.h" Presumably you meant that #include "C:/GTK/include/gtk-2.0/gtk/gtk.h" === works. Include statement contents are searched for inside each include path so the solution is to use include paths C:\GTK\include\gtk-2.0 and C:\GTK\include\libglade-2.0. If the correct header file really is C:/GTK/include/gtk-2.0/gtk.h, then you need to rename gtk-2.0/ as gtk/ or use include statements that contain the correct directory (eg. #include <gtk-2.0/gtk.h>). -- Tuomo ... I distinctly remember forgetting that |