GL_TEXTURE_RECTANGLE_NV compiler error

when I try to use glenable()and other texture related openGL calls with GL_TEXTURE_RECTANLE_NV I get a compiler error of undeclared identifier. I didn’t realize I needed to include extra headers for nvidia extensions? Can anybody give me a hint as to how to remedy this? Google searches have proved useless.

thanks.

You need this http://oss.sgi.com/projects/ogl-sample/ABI/glext.h header to use that extension. Also there are windowing system extensions if you decide to use window extensions, glx: http://oss.sgi.com/projects/ogl-sample/ABI/glxext.h
and wgl: http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h