Problem when building STK on Debian Wheezy

Problem when building STK on Debian Wheezy

Postby gchq » 17 Aug 2014, 21:33

Hello, I currently try to build STK on Debian 7 (Wheezy).

I followed the steps in this tutorial: http://supertuxkart.sourceforge.net/Build_STK_on_Linux

I think I have all dependencies installed but make -j2 gives me an error:

{l Code}: {l Select All Code}
...
CMakeFiles/supertuxkart.dir/src/graphics/shaders.cpp.o: In function `MeshShader::InstancedGrassPass1Shader::InstancedGrassPass1Shader()':
shaders.cpp:(.text+0x11cad): undefined reference to `glGetUniformBlockIndex'
shaders.cpp:(.text+0x11cc4): undefined reference to `glUniformBlockBinding'
CMakeFiles/supertuxkart.dir/src/graphics/shaders.cpp.o: In function `MeshShader::SphereMapShader::SphereMapShader()':
shaders.cpp:(.text+0x12515): undefined reference to `glGetUniformBlockIndex'
shaders.cpp:(.text+0x1252c): undefined reference to `glUniformBlockBinding'
CMakeFiles/supertuxkart.dir/src/graphics/shaders.cpp.o: In function `FullScreenShader::FogShader::FogShader()':
shaders.cpp:(.text+0x12c03): undefined reference to `glGetUniformBlockIndex'
shaders.cpp:(.text+0x12c1a): undefined reference to `glUniformBlockBinding'
CMakeFiles/supertuxkart.dir/src/graphics/shaders.cpp.o: In function `MeshShader::TransparentFogShader::TransparentFogShader()':
shaders.cpp:(.text+0x12f84): undefined reference to `glGetUniformBlockIndex'
shaders.cpp:(.text+0x12f9b): undefined reference to `glUniformBlockBinding'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/supertuxkart] Fehler 1
make[1]: *** [CMakeFiles/supertuxkart.dir/all] Fehler 2
make: *** [all] Fehler 2


The errors could relate to the "old" opengl version of Debian, but since the instructions were for "Ubuntu/Debian" I think STK should build without these errors.

If you need any information about the libs(versions)/... I have installed please ask.

Any help would be greatly appreciated. :)
gchq
 
Posts: 1
Joined: 17 Aug 2014, 21:09

Re: Problem when building STK on Debian Wheezy

Postby vlj » 18 Aug 2014, 00:01

You need at least mesa 9 to have OpenGL 3.1 support.
vlj
 
Posts: 58
Joined: 27 Dec 2013, 04:22

Who is online

Users browsing this forum: No registered users and 1 guest

cron