Re: [gtk-list] Re: Re: Re: 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

> 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:
> 
> [echeng@localhost tutorial]$ ls /usr/local/lib/Gtk--/include/
> gdk--config.h  gtk--config.h

Check that the include directories from gtkmm-config --cflags really go to
the compilation line! it does seem to -I the correct dirs with
that command. => maybe the compiler never gets the output of
gtkmm-config? (check that you used `gtkmm-config --cflags`, instead
of 'gtkmm-config --cflags'  in your compilation line.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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