glui.h compilation prb

2003-04-02 Thread -=]Shromilder[=-
d struct GLUI' /usr/include/glui.h:597: friend declaration requires class-key, i.e. `friend class GLUI_Master_Object' here is the glui.C file that i'm trying to compile (it's exemple2 of the original glui package): http://shromy.free.fr/glui.C I hope to get an answer

Re: glui.h compilation prb

2003-04-03 Thread -=]Shromilder[=-
you're my hero =) -- Your problem is caused by gcc 3 stricker friend declaration checking; you should stick with gcc 2 (g++ 2) until the opengl package is updated. Use: g++-2 -o glui glui.C -lglui -lglut32 -lglu32 -lopengl32 "-=]