Linux下 的OpenGl编程
安装mesa,这是Linux下OpenGl的替代。
其官方网站如此说明
After unpacking MesaLib-x.y.z -you'll have these files and directories (among others):
Makefile - top-level Makefile for most systems configs/ - makefile parameter files for various systems include/ - GL header (include) files bin/ - shell scripts for making shared libraries, etc docs/ - documentation src/ - source code for libraries src/mesa - sources for the main Mesa library and device drivers src/glu - libGLU source code src/glx - sources for building libGL with full GLX and DRI support src/glw - Xt/Motif/OpenGL widget codeMesaDemos.X.Y package:
progs/demos - original Mesa demos progs/xdemos - GLX OpenGL/Mesa demos progs/redbook - examples from the OpenGL Programming Guide progs/samples - examples from SGI progs/images/ - image filesIf you downloaded and unpacked the MesaGLUT.X.Y package:
src/glut - GLUT library source code