I tried to compile an app which uses OpenGL but got errors while compiling.
So I tried to compile a small opengl demo like glxgears as well as a short piece of GL/GLX sample code from the SGI OpenGL guide PDF, but all throw the same error:
and my includes are:
I'm using SGUG-RSE gcc in sgugshell on IRIX 6.5.30.
what am I missing or what am I doing wrong?
I can also post the code, but I bet this is a total no brainer noob user error and easy to answer
thanks!
So I tried to compile a small opengl demo like glxgears as well as a short piece of GL/GLX sample code from the SGI OpenGL guide PDF, but all throw the same error:
Code:
$ gcc -o test test.c
In file included from test.c:4:
/usr/include/GL/glx.h:65:27: error: 'GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX' undeclared here (not in a function)
65 | char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Code:
#include <stdio.h>
#include <stdlib.h>
#include <GL/gl.h>
#include <GL/glx.h>
what am I missing or what am I doing wrong?
I can also post the code, but I bet this is a total no brainer noob user error and easy to answer
thanks!