Compilation error const GLubyte* ...

Compilation error const GLubyte* ...

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
constatinus
Posts: 31
Joined: 27 Sep 2015, 23:00

Compilation error const GLubyte* ...

Post by constatinus » 05 Jun 2018, 15:56

/home/user/git/spring/rts/Rendering/GL/myGL.cpp:149:49: error: a reinterpret_cast is not a constant expression
static constexpr const GLubyte* qcriProcName = (const GLubyte*) "glXQueryCurrentRendererIntegerMESA";

probably has something to do with my first error post. This is on git master and maint., and also on release spring 104.0.1.
0 x

abma
Spring Developer
Posts: 3483
Joined: 01 Jun 2009, 00:08

Re: Compilation error const GLubyte* ...

Post by abma » 15 Jun 2018, 11:55

0 x

Post Reply

Return to “Linux”