Re: [gtk-list] Re: gtk compile errors



The shell has to find the gtk-config script... Is it in your path ?
Does the command 
gtk-config --help 
work ?

Aaron O'Brien wrote:
> 
> Still no good.
> Errors are now:
> gcc:  gtk-config --cflags: No such file or directory
> gcc:  gtk-config --lib: No such file or directory
> 
> I already had forward tick marks around the gtk-config statements (typo on
> my part sorry 'bout that).  Anything else?
> Aaron O'Brien
> 
>         -----Original Message-----
>         From:   u07ih@abdn.ac.uk
>         Sent:   Monday, January 17, 2000 10:36 AM
>         To:     gtk-list@redhat.com
>         Subject:        [gtk-list] Re: gtk compile errors
> 
>         Use ' instead of '
>         and-instead of -
> 
>         So it should be
>         gcc -Wall -g gtk1.c -o gtk1 'gtk-config-cflags' 'gtk-config-libs'
>         Iain
>                 >
>                 > 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
> <mailto:gtk-list-request@redhat.com> gtk-list-request@redhat.com < /dev/null
>                 >
>                 >
> 
>         --
>         To unsubscribe: mail -s unsubscribe
> <mailto:gtk-list-request@redhat.com> gtk-list-request@redhat.com < /dev/null
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

--
Cyril PICARD
Matra Nortel Communications - PMR/MTL/CNM
01 34 60 70 00 / Poste 71650 - Bureau K57B (Campus du fort) - PC 45
mailto:cyril.picard@matranortel.com



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