We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error on Ubuntu 13.10 Linux amd64:
rick@rick-W650SR:~/Documenten/sb6code$ make [ 1%] Building C object CMakeFiles/sb6.dir/src/sb6/gl3w.c.o In file included from /usr/include/GL/glx.h:332:0, from /home/rick/Documenten/sb6code/src/sb6/gl3w.c:62: /home/rick/Documenten/sb6code/include/GL/glxext.h:682:24: error: expected declaration specifiers or ‘...’ before ‘’ token typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); ^ /home/rick/Documenten/sb6code/include/GL/glxext.h:683:67: error: unknown type name ‘GLXContextID’ typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID); ^ make[2]: ** [CMakeFiles/sb6.dir/src/sb6/gl3w.c.o] Fout 1 make[1]: *** [CMakeFiles/sb6.dir/all] Fout 2 make: *** [all] Fout 2
I searched on the internet for this and i found out that i needed to add this line before line 683 in file sb6code/include/GL/glxext.h:
typedef XID GLXContextID;
After that it compiles fine.
This error happened after some update on Ubuntu. It compiled fine last week. I just wanted to notify you on this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compile error on Ubuntu 13.10 Linux amd64:
rick@rick-W650SR:~/Documenten/sb6code$ make
[ 1%] Building C object CMakeFiles/sb6.dir/src/sb6/gl3w.c.o
In file included from /usr/include/GL/glx.h:332:0,
from /home/rick/Documenten/sb6code/src/sb6/gl3w.c:62:
/home/rick/Documenten/sb6code/include/GL/glxext.h:682:24: error: expected declaration specifiers or ‘...’ before ‘’ token
typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
^
/home/rick/Documenten/sb6code/include/GL/glxext.h:683:67: error: unknown type name ‘GLXContextID’
typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID);
^
make[2]: ** [CMakeFiles/sb6.dir/src/sb6/gl3w.c.o] Fout 1
make[1]: *** [CMakeFiles/sb6.dir/all] Fout 2
make: *** [all] Fout 2
I searched on the internet for this and i found out that i needed to add this line before line 683 in file sb6code/include/GL/glxext.h:
typedef XID GLXContextID;
After that it compiles fine.
This error happened after some update on Ubuntu. It compiled fine last week. I just wanted to notify you on this.
The text was updated successfully, but these errors were encountered: