Re: [gtk-list] gtk compile errors



Well...do you have gtk-config? Do a 

which gtk-config

Then

gtk-config --cflags
gtk-config --libs

You compiled gimp? Much easier if you install everything from rpms. It
installs in the right places and can be updated easily.


On Mon, 17 Jan 2000, Aaron O'Brien wrote:

> Hello, I'm new to this e-mail list so please forgive any toes I may step on.
> 
> I'm running a version RedHat 6.0 and have gtk+, glib, gimp, and gdk
> installed when I installed the system.  Gimp compiled and runs so I'm
> assuming everything is installed correctly.  Anyway, I'm working through
> Eric Harlow's book "Developing Linux Applications with GTK+ and GDK".  When
> I try to compile my code with the following command I get the following
> errors:
> 
> Command:
> gcc -Wall -g gtk1.c -o gtk1 'gtk-config -cflags' 'gtk-config - libs'
> 
> Errors:
> gcc: gtk-config -cflags: No such file or directory
> gcc: gtk-config -libs: No such file or directory
> 
> Any help would be truly appreciated, I've been banging my head on this for
> about 4 days now.
> 
> Thanks in advance,
> Aaron O'Brien
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 



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