• Advertisement
Sign in to follow this  

GLSL header problem

This topic is 4829 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have a problem, i want to make an aplication the uses the glslang shading language. Unfortunately i cannot compile my sourcecodes, cause i lack the headers. eg.: FNGLCREATEPROGRAMOBJECTARBPROC glCreateProgramObjectARB = NULL; PFNGLDELETEOBJECTARBPROC glDeleteObjectARB = NULL; PFNGLUSEPROGRAMOBJECTARBPROC glUseProgramObjectARB = NULL; PFNGLCREATESHADEROBJECTARBPROC glCreateShaderObjectARB = NULL; PFNGLSHADERSOURCEARBPROC glShaderSourceARB = NULL; PFNGLCOMPILESHADERARBPROC glCompileShaderARB = NULL; PFNGLGETOBJECTPARAMETERIVARBPROC glGetObjectParameterivARB = NULL; PFNGLATTACHOBJECTARBPROC glAttachObjectARB = NULL; PFNGLGETINFOLOGARBPROC glGetInfoLogARB = NULL; PFNGLLINKPROGRAMARBPROC glLinkProgramARB = NULL; PFNGLGETUNIFORMLOCATIONARBPROC glGetUniformLocationARB = NULL; PFNGLUNIFORM4FARBPROC glUniform4fARB = NULL; PFNGLUNIFORM1IARBPROC glUniform1iARB = NULL; GLhandleARB g_programObj; GLhandleARB g_vertexShader; GLhandleARB g_fragmentShader; GLuint g_location_testTexture;*/ doesnt work at all. im running fedora core 2 with a nvidia card(fx5900) and kernel2.6.7 - can anybody tell me where to optain the necessary headers, so i can compile my software, i wasnt sucessfull googling for 2 days.

Share this post


Link to post
Share on other sites
Advertisement
sounds like you need either a recent glext.h from your card manufacturer or an extension loading lib to do it for you. try GLEW

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement