Re: [Ubuntu-zh] 怎样编译gtk程序啊

Shixin Zeng shixinzeng at gmail.com
Mon Jul 10 12:31:08 BST 2006


On 7/10/06, Tang Zhilong <ak474840 at gmail.com> wrote:
>
> sorry.i mean how to build an gtk environment.
> when i use the order like yours,i always get a error"can't find
> pkg-config" or sonething like this.
>

You should install pkg-config first.
Of course, If your GTK+ is not new enough, e.g. released before pkg-config
was invented, you should use gtk-config. As you said that 'gtk-config' did
work on your system, I presume that this is not the your case.

 On 7/10/06, Shixin Zeng <shixinzeng at gmail.com> wrote:
> >
> >
> > Sorry, forgot a CC
> >
> > ---------- Forwarded message ----------
> > From: Shixin Zeng < shixinzeng at gmail.com>
> > Date: Jul 10, 2006 7:11 PM
> > Subject: Re: [Ubuntu-zh] 怎样编译gtk程序啊
> > To: Tang Zhilong <ak474840 at gmail.com>
> >
> >
> > gcc `pkg-config gtk+-2.0 --cflags --libs` -o hw hello.c
> >
> > On 7/10/06, Tang Zhilong <ak474840 at gmail.com > wrote:
> > >
> > > gtk-config没用
> > >
> > > --
> > > ubuntu-zh mailing list
> > > ubuntu-zh at lists.ubuntu.com
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> > >
> > >
> > >
> >
> >
> > --
> > Best regards
> >
> >
> > Shixin Zeng
> >
> >
> > --
> > Best regards
> >
> >
> > Shixin Zeng
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> >
> >
>


-- 
Best regards

Shixin Zeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20060710/87308cea/attachment.htm


More information about the ubuntu-zh mailing list