I got a program with GUI generated with Fast Light User Interface Designer 
(fluid) version 1.0107.

With g++ 4.4.3 and fltk 1.1.10 on Ubuntu 10.04 LTS I got the error message by 
compilation.

/usr/include/FL/glut.H:184: error: expected identifier before numeric constant
/usr/include/FL/glut.H:184: error: expected ‘}’ before numeric constant
/usr/include/FL/glut.H:184: error: expected unqualified-id before numeric 
constant
/usr/include/FL/glut.H:184: error: expected declaration before ‘}’ token

The code snippet from FL/glut.H

182 inline void glutUseLayer(GLenum layer) {
183  layer ? glut_window->make_overlay_current() : glut_window->make_current();}
184 enum {GLUT_NORMAL, GLUT_OVERLAY};
185
186 inline void glutPostOverlayRedisplay() {glut_window->redraw_overlay();}

thanks a lot :P

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to