title: How to get OpenGL-3 headers(C/C++) in linux (with nvidia driver)
body: <p>My SO is OpenSuse version 12.2 (x86_64) Mantis, with KDE desktop.
  I have currently the NVidia driver (319) installed from the repository. 3D acceleration work and the driver seem to support OpenGL 4.3.</p>
  
  <p>I am trying to programme a simple OpenGL sample (just a triangle in a glut windows), but I am unable because GL/gl.h is outdated: the current header is the mesa with openGL 1.3, which does nos support glCreateShader, glAttachShader...</p>
  
  <p>I have tryed $ sudo find / -name gl3.h (openGL 3.1 and further should include this header) but it does not return any result, so I suppose Nvidia driver does not include library/headers.</p>
  
  <p>My question is: Where can I get the GL/gl.h for the installed NVidia driver? Onyone has got this same problem and solve it?</p>
  
  <p>P.S.
  To install the NVidia driver, I just installed the driver from the NVidia repository for opensuse 12.2 (<a href="http://download.nvidia.com/opensuse/12.2/" rel="nofollow">http://download.nvidia.com/opensuse/12.2/</a>) (with Yast)</p>
  
  <p>I have installed:</p>
  
  <ul>
  <li>nvidia-computeG03 (NVIDIA driver for computing with GPGPU)</li>
  <li>nvidia-gfxG03-kmp-desktop (NVIDIA graphics driver kernel module for GForce 8xxx and newer GPUs)</li>
  <li>x11-video-nvidiaG03 (NVIDIA graphics driver for GeForce 8xxx and newer GPUx) </li>
  </ul>