Re: GtkGLArea related syntax error



Le mardi 14 d�mbre 2004 �2:57 -0500, Mustafa Sanver [wmu-cs] a
�it :
> Need help on this error.
> I had no problem with other versions of Linux.  I recently switched to
> Gentoo.
> Of course needless to say all the ebuilds installed are newest versions as
> of
> now including glib, mesa, gtk+ etc
> 
> I didnt have a any compile problem with my application. Now I get the
> following syntax error:
> ============msg begins==============
> make
> cc  `gtk-config --cflags`  gtsig.c signals.c gtsrc.c gl.c gt.c gt_vr.c
> read.c
> kmean.c util.c gt_util.c svd.c font.c volren.c linux_main.c -o n23  -lglut
> -lMesaGLU -lMesaGL -lm -lXext -lXmu -lXi -lgtkgl -lpthread  `gtk-config
> --libs`
> gtsrc.c: In function `init':
> gtsrc.c:1157: error: syntax error before "GtkGLArea"
> gtsrc.c:1157: error: syntax error before ')' token
> gtsrc.c: At top level:
> gtsrc.c:1167: error: syntax error before "return"
> gtsrc.c: In function `reshape':
> gtsrc.c:1174: error: syntax error before "GtkGLArea"
> gtsrc.c:1174: error: syntax error before ')' token
> gtsrc.c: In function `init_gl':
> gtsrc.c:1192: error: syntax error before "GtkGLArea"
> gtsrc.c:1192: error: syntax error before ')' token
> gtsrc.c: At top level:
> gtsrc.c:1229: error: syntax error before "return"
> gtsrc.c: In function `draw2':
> gtsrc.c:1252: error: syntax error before "GtkGLArea"
> gtsrc.c:1252: error: syntax error before ')' token
> gtsrc.c:1268: error: syntax error before "GtkGLArea"
> ==========msg end============

Did you install gtkglarea-1.2.3? gtkglarea-1.99.0 is gtk+-2.0 based and
will not work with gtk-config.




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