GtkGLArea related syntax error



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============



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