NVidia\'s install program stores the OpenGL header files needed for compile in the following directory path
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/
in order to use them for compiling the software you must move them to the /usr/include/GL/ path
I used the following command to do so you can copy and paste it if you wish
cp /usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl* /usr/include/GL/
I did this successfully on SuSE 8.2 but it should work on anyother distro with these drivers too.