Re: [gtk-list] Re: Can't Run GTK--'s HelloWorld



Eddie Cheng <echeng@holmium.CChem.Berkeley.EDU> writes:

> [echeng@localhost tutorial]$ gtkmm-config --cflags 
> -I/usr/local/lib/Gtk--/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/glib/include

So /usr/local/lib/Gtk--/include is among your include path...

> When I compile HelloWorld.cc with the above flags, 
> it complains that it could not find 
> gtk--config.h, gdk--config.h, and glibconfig.h files, I have
> to find them using the 'find' utility:

which is quite strange since the directory they are in
(/usr/local/lib/Gtk--/include/) is among your include path.

So it looks like your makefile is screwed up somehow, and you're not
passing the flags you think you are to g++.

-- 
					Guillaume.
					http://www.worldnet.fr/~glaurent



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