Re: problems with gtk-demo



On 2003.04.28 08:24 kiran shivu wrote:
> hello ,
> Ali, i am kiran onceagain,

Kiran, you really need to ask your questions on gtk-list rather
than picking on random people. This will be the last message I
reply to that you misdirect.

> i will explain u what i did and the errors i got .
> 1st. I installed all the packages from mandrake 9.0.
> 2nd . I just properly followed the steps given in the webpage which u 
> mentioned.
> 3rd . I tried compiling the demo program, and i like mentioning u one thing 
> , i compiled it using  the following command
> gcc <filename.c> -Wall -o hel 'gtk-config --cflags --libs'
> the errors i got are:
> err1: gtk-config not such file nor directory
> err2: gtk --cflags not found
> err3: gtk --libs not found
> err4: gtk/gtk.h no file or directory
> err5: glib.h no file not directory

The next page of the manual I referred you to explains that
you should be using pkg-config (and not gtk-config). See:

http://developer.gnome.org/doc/API/2.2/gtk/gtk-compiling.html

> along with the above errors i got some more related to the program as it 
> didn't find the gtk.h file
> 
> Ali , please give me the step by step procedure how u did in configuring 
> gtk+-2.0.0
> I am really worried about my project please help me ,,,,

It wouldn't help - I don't use Mandrake and I have multiple versions
of Gtk+ installed which causes all sorts of compilations you don't
need to worry about.

-- 
Ali Harlow                              Email: ali avrc city ac uk
Research programmer                     Tel:   (020) 7040 4348
Applied Vision Research Centre          Intl: +44 20 7040 4348
City University                         Fax:   (020) 7040 5515
London                                  Intl: +44 20 7040 5515



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