I'm trying to build it on ubuntu 6.06 LTS and while scons configure works allright, when building i get following errors:
Code: Select all
rts/Lua/LuaShaders.cpp: In function 'GLuint CompileObject(const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, GLenum, bool&)':
rts/Lua/LuaShaders.cpp:342: error: '' was not declared in this scope
rts/Lua/LuaShaders.cpp:346: error: 'glGetShaderInfoLog' was not declared in this scope
rts/Lua/LuaShaders.cpp: In static member function 'static int CLuaShaders::CreateShader(lua_State*)':
rts/Lua/LuaShaders.cpp:447: error: 'glGetProgramiv' was not declared in this scope
rts/Lua/LuaShaders.cpp:451: error: 'glGetProgramInfoLog' was not declared in this scope
rts/Lua/LuaShaders.cpp: In static member function 'static int CLuaShaders::GetActiveUniforms(lua_State*)':
rts/Lua/LuaShaders.cpp:553: error: 'glGetProgramiv' was not declared in this scope
scons: *** [build/rts/Lua/LuaShaders.o] Error 1
scons: building terminated because of errors.