Problems using glsl with c++

hi, my graphic board is a geforce fx 5200 and I have the latest nvdia driver. I can run some shaders and I develop them with opengl shader designer.

I want put this shaders in my c++ aplication but when I use:

fragment = glCreateShaderObjectARB(GL_FRAGMENT_SHADER_ARB); or any other glsl function like glShaderSourceARB or glAttachObjectARB an error show that functions undeclared (like this: shader.cpp:11:error glCreateShaderObjectARB undeclared)

Im using the glext.h that comes with nvidia driver.

u have to setup the function entry points like u have to do with most extensions, including glext.h is not enuf.
use a extension loader library to do the work for you

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.