Question : openGL and GLUI install problem

Hey All,

Okay, I'm taking an intro openGL graphics course and we are to use the Linux Mesa libraries as well as a the GLUI libraries.  I have Mandrake 9.0 installed and was just using the libraries that came with the install CDs.  However everytime I go to compile my program I get errors.  I can compile without the GLUI code but when I compile using GLUI functions i get errors like the following:

gcc -c a1.c -o a1.o -I/usr/include/GL
In file included from a1.c:11:
/usr/include/GL/glui.h:32: parse error before "Arcball"
/usr/include/GL/glui.h:32: warning: data definition has no type or storage class
/usr/include/GL/glui.h:45: parse error before "RGBc"
/usr/include/GL/glui.h:45: syntax error before '{' token
...

and they go on forever.  I have tried uninstalling Mesa and GLUT and GLUI and reinstalling the new ones but NOTHING helps.  I need some MAJOR help here as my assignment is due next Sunday and I still have a lot to do on the project!

Thanks in advance,
Corey

Answer : openGL and GLUI install problem

when you are compiling it, it may automatically be seeing that you have the xfree86 opengl drivers installed and its using those, if you uninstall xfree86 then compile your program, thereafter you can reinstall xfree86, if that doesnt work you may want to try using redhat 8 and see if you can get it to work under that.
good luck i hope you get your assignment in on time
Random Solutions  
 
programming4us programming4us