Compilation error const GLubyte* ...

Compilation error const GLubyte* ...

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

Moderator: Moderators

constatinus
Posts: 24
Joined: 27 Sep 2015, 23:00

Compilation error const GLubyte* ...

Postby 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: 3439
Joined: 01 Jun 2009, 00:08
x 148

Re: Compilation error const GLubyte* ...

Postby abma » 15 Jun 2018, 11:55

0 x


Return to “Linux”