Forums

Full Version: Problem compiling: error: invalid use of ‘GLvoid’
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,
I can't compile current svn because of this:

include/game.h:147: error: ‘<anonymous>’ has incomplete type
include/game.h:147: error: invalid use of ‘GLvoid’
include/game.h:149: error: ‘<anonymous>’ has incomplete type
include/game.h:149: error: invalid use of ‘GLvoid’

and

src/game.cpp:766: error: ‘<anonymous>’ has incomplete type
src/game.cpp:766: error: invalid use of ‘GLvoid’

If I change the GLvoid to normal void it compiles and I can play.

I have current Nvidia drivers, sdl 1.2.11 and mesa 6.5.2
Thanks for the heads up, I made this change in subversion.