|
(allegrogl) gl_ext_api.h - error |
Frank Drebin
Member #2,987
December 2002
|
i installed allegrogl 0.4.2 and allegro 4.2.2. g++ test.c -o mytest -lagl `allegro-config --libs` -lGl -lGLU In file included from /usr/include/allegrogl/gl_ext.h:27, from /usr/include/alleggl.h:68, from test.c:18: /usr/include/allegrogl/GLext/gl_ext_api.h:1827: error: ‘<anonymous>’ has incomplete type /usr/include/allegrogl/GLext/gl_ext_api.h:1827: error: invalid use of ‘GLvoid’ any ideas? |
Milan Mimica
Member #3,877
September 2003
|
Yeah, experienced the same thing yesterday. At /usr/include/allegrogl/GLext/gl_ext_api.h:1827 just change "GLvoid" to "void" and it will work. update: same problem with gcc-4.2.2 edit: somehow affects only c++ (g++)
-- |
|