nanogui: Problems building NanoGTK
Subject:
Re: [nanogui] Problems building NanoGTK
From:
Srinivas Rao ####@####.####
Date:
25 Jul 2002 09:59:09 -0000
Message-Id: <Pine.GSO.4.21.0207251743330.26915-100000@sf3.comp.nus.edu.sg>
Hi
I am having problems building gtk+-1.2.7
I made no changes to the sources.
Error:
------------------------------------------------------------------------
gtkaccelgroup.c: In function `gtk_accel_group_create_add':
gtkaccelgroup.c:668: `GTK_TYPE_ACCEL_GROUP' undeclared (first use in this
function)
gtkaccelgroup.c:668: (Each undeclared identifier is reported only once
gtkaccelgroup.c:668: for each function it appears in.)
gtkaccelgroup.c:670: `GTK_TYPE_GDK_MODIFIER_TYPE' undeclared (first use in
this function)
gtkaccelgroup.c:671: `GTK_TYPE_ACCEL_FLAGS' undeclared (first use in this
function)
gtkaccelgroup.c: In function `gtk_accel_group_create_remove':
gtkaccelgroup.c:687: `GTK_TYPE_ACCEL_GROUP' undeclared (first use in this
function)
gtkaccelgroup.c:689: `GTK_TYPE_GDK_MODIFIER_TYPE' undeclared (first use in
this function)
-----------------------------------------------------------------------
Anyway to resolve this.
Thanks
Srinivas
On Tue, 23 Jul 2002, Chen sheng wrote:
> Hi Simon,
> What I did is to declare them at the beginning of srvfunc_gtk.c.
>
> --- srvfunc_gtk.c.old Thu Jun 20 01:01:49 2002
> +++ srvfunc_gtk.c Thu Jul 18 15:40:58 2002
> @@ -5,6 +5,11 @@
>
> #include "cjk.h"
>
> +static void
> +calc_thick_line_corners (GR_POINT p1, GR_POINT p2,
> + int line_width, GR_POINT *corners);
> +static void
> +draw_thick_line (GR_DRAWABLE *dp, GR_POINT *corners);
> /*
> * draw simple (width = 1) dash line with the segments given
> * only even segments are drawn
>
> --- Simon Wood ####@####.#### wrote:
> > Hi all,
> > I tried building NanoGTK and got a couple of errors.... fails whilst
> > building
> > srvfunc.o. I think that I may be missing a header file.
> >
> > I've check the paths etc but they all look correct, anyone got any
> > suggestions?
> >
> > I picked up the source from
> > http://www.emsoftltd.com/index.php?action=nanogtk,
> > is there an alternative (CVS?) archive anywhere else?
> >
> > Thanks,
> > Simon.
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>