Help me plz to compile an opengl programme at SGI

Hi every body
i am net to opengl at sgi. I tried to compilea simple opengl programme at sgi by command
“cc test.c test”
a lot of errors with the message appear error cc1108 “the indicated expression must have pointer to function type”
Any body who could help me to compile this programme . I have all the precompiled liberaries that is GL and glut.h
Thanks for detailed reply

Originally posted by <asad>:
Hi every body
i am net to opengl at sgi. I tried to compilea simple opengl programme at sgi by command
“cc test.c test”
a lot of errors with the message appear error cc1108 “the indicated expression must have pointer to function type”
Any body who could help me to compile this programme . I have all the precompiled liberaries that is GL and glut.h
Thanks for detailed reply

the compilation :

cc <filename.c> -lglut -lGL -lGLU -lm

this is compilation command

for working in my office no problem,
i installed linex enterprice edition -3
in my home so how to install OpenGL in my system where i have to get the s/w?,its free of cast or i have to pay some wender?..

thank you

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.