GtkGLArea: syntax error

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

 



Need help on this error,

I had no problem with other versions of Linux before.  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 any compile problem with my application. Now I get the
following syntax error:
Note: I tried compiling with pkg-config gdk/gtk+/gtk+-2.0 --glibs/cflags etc. didn't work.
What am I missing here? Is this something with installation/versions/library?
 
Thank you in advance

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

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux