Forums
Problem compiling: error: invalid use of ‘GLvoid’ - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Problem compiling: error: invalid use of ‘GLvoid’ (/showthread.php?tid=739)



Problem compiling: error: invalid use of ‘GLvoid’ - Noneus - 07-25-2007

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


- joevenzon - 07-25-2007

Thanks for the heads up, I made this change in subversion.