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



>> Is this normal or that my gtk-- was not installed correctly as
>> I thought?

>could you tell me what is the output of the following commands:

>gtkmm-config --version

[echeng@localhost tutorial]$ gtkmm-config --version
0.11.1

>gtkmm-config --cflags

[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

>gtkmm-config --libs

[echeng@localhost tutorial]$ gtkmm-config --libs  
-rdynamic -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lgtkmm -lgdkmm -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm

>and then show me what are the directories where your gtk--'s header files are?

[echeng@localhost tutorial]$ ls /usr/local/include/     
gdk--/            gtk--.h           gtk--sigcommon.h  gtk--sigslot.h
gdk--.h           gtk--draw/        gtk--sigconn.h
glib--.h          gtk--draw.h       gtk--sigcpp.h
gtk--/            gtk--sig.h        gtk--sigproxy.h

===================================================

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

[echeng@localhost tutorial]$ ls /usr/lib/glib/include/   
glibconfig.h

Don't know if there are other files in some other places.

Thanks!


    Eddie



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