[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: GTK problem



I celebrated  too early it seems. Somehow, I missed one of the files and so
when I compiled giving all the files, it again gave the error. I think that
what Sreeji says may solve the problem, so next I will try that.

vibhu..

----- Original Message -----
From: "Vibhu Rishi" <vibhu.rishi@xxxxxxxxx>
To: <linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, December 20, 2000 11:01 AM
Subject: Re: [LIP] GTK problem


> Problem solved !
>
> The problem was that the sequence that I was putting the files in was not
> correct.
>
> Now I have another query, when I m comiling the files , I get the
> following. Can you tell me why this is so ?
>
>
> [vibhu@vibhu molecule]$ gcc -c -o misc.o misc.c `gtk-config --cflags`
> `gtk-config --libs`
> gcc: -lgtk: linker input file unused since linking not done
> gcc: -lgdk: linker input file unused since linking not done
> gcc: -lgmodule: linker input file unused since linking not done
> gcc: -lglib: linker input file unused since linking not done
> gcc: -ldl: linker input file unused since linking not done
> gcc: -lXi: linker input file unused since linking not done
> gcc: -lXext: linker input file unused since linking not done
> gcc: -lX11: linker input file unused since linking not done
> gcc: -lm: linker input file unused since linking not done
>
> If I do not give the options with the `` then I get the following :
>
> [vibhu@vibhu molecule]$ gcc -c -o matrix3d.o matrix3d.c
> In file included from /usr/include/gdk/gdktypes.h:33,
>                  from /usr/include/gdk/gdk.h:31,
>                  from /usr/include/gtk/gtk.h:31,
>                  from atom.h:2,
>                  from matrix3d.c:8:
> /usr/include/glib.h:66: glibconfig.h: No such file or directory
>
>
> So , what is it that is required for just compiling the files ?
>
> regards
> Vibhu..
>
>
>
> Vibhu Rishi wrote:
>
> > HI
> >
> > I am facing a certain problem in GTK. It seems that I do not have the
> > GtkAcceleratorWidget.
> >
> > I have a line
> >
> > GtkAcceleratorTable *accelerator_table;
> >
> > which the compiler gives the error :
> > createmenu.c:49: parse error before `*'
> >
> > could you please tell me what the problem may be ? I think that some GTK
> > lib is missing. So if you could tell me where to get it from , it would
> > be a great help .
> >
> > regards
> > vibhu..
> >
> > ---------------------------------------------
> > The mailing list archives are available at
> > http://lists.linux-india.org/cgi-bin/wilma/LIP
>
>
> ---------------------------------------------
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at
> http://lists.linux-india.org/cgi-bin/mj_wwwusr
>