Latest cg toolkit?

Anybody having probs compiling the opengl examples in the latest cg toolkit (sdk)?

I get this error,

c:\Program Files\NVIDIA Corporation\SDK\inc\glh\glh_genext.h(57): error C2146: syntax error : missing ‘;’ before identifier ‘glBlendColor’

The problem is that i am using all the headers that were included in this sdk.

The opengl header file i had in my compiler directory (visual studio) did not have glBlendColor defined at all, so i tried putting the latest mesa gl header in and got this:

c:\Program Files\NVIDIA Corporation\SDK\inc\glh\glh_genext.h(57): error C2365: ‘glBlendColor’ : redefinition; previous definition was a ‘function’

Works for a while for me (Glut with NVIDIAS SDK & their headers, libs, dlls)

Probably the easiest and quickest thing to do is edit the c:\Program Files\NVIDIA Corporation\SDK\inc\glh\glh_genext.h - simply perform a search for glBlendColor and check out the line before it. It (glBlendColor) may exist in several places within that file so be sure to check the line before each. For some reason it might just be missing a semi-colon.

Good luck