3 <TITLE>Getting Mesa
</TITLE>
5 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css"></head>
12 Last development release:
<b>6.5</b>
16 Last stable release:
<b>6.4.2</b>
20 Primary download site:
21 <a href=
"http://sourceforge.net/project/showfiles.php?group_id=3"
22 target=
"_parent">SourceForge
</a>
27 Mesa is distributed in several parts:
30 <li><b>MesaLib-x.y.z
</b> - the main Mesa library source code, drivers
33 <li><b>MesaDemos-x.y.z
</b> - OpenGL demonstration and test programs.
34 Most of the programs require GLUT (either the
35 <a href=
"http://www.opengl.org/resources/libraries/glut"
36 target=
"_parent">original GLUT by Mark Kilgard
</a> or
37 <a href=
"http://freeglut.sourceforge.net" target=
"_parent">freeglut
</a> or
38 <a href=
"http://openglut.sourceforge.net" target=
"_parent">OpenGLUT
</a>).
40 <li><b>MesaGLUT-x.y.z
</b> - Mark Kilgard's GLUT, easily compiled and used
41 with Mesa. Plus, other implementation of GLUT for DOS, OS/
2, BeOS, etc.
46 If you're not interested in running the demos, you'll only need the first
51 If you're new to this and not sure what you're doing, grab all three packages.
55 The packages are available in .tar.gz, .tar.bz2 and .zip formats.
56 Other sites might offer additional package formats.
62 All the packages should be in the same directory prior to unpacking.
66 <li>To unpack .tar.gz files:
68 tar zxf MesaLib-X.Y.tar.gz
69 tar zxf MesaDemos-X.Y.tar.gz
70 tar zxf MesaGLUT-X.Y.tar.gz
74 gzcat MesaLib-X.Y.tar.gz | tar xf -
75 gzcat MesaDemos-X.Y.tar.gz | tar xf -
76 gzcat MesaGLUT-X.Y.tar.gz | tar xf -
80 gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
81 gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaDemos-X.Y.tar
82 gunzip MesaGLUT-X.Y.tar.gz ; tar xf MesaGLUT-X.Y.tar
84 <li>To unpack .tar.bz2 files:
86 bunzip2 -c MesaLib-X.Y.tar.gz | tar xf -
87 bunzip2 -c MesaDemos-X.Y.tar.gz | tar xf -
88 bunzip2 -c MesaGLUT-X.Y.tar.gz | tar xf -
90 <li>To unpack .zip files:
93 unzip MesaDemos-X.Y.zip
94 unzip MesaGLUT-X.Y.zip
102 After unpacking you'll have these files and directories (among others):
105 Makefile - top-level Makefile for most systems
106 configs/ - makefile parameter files for various systems
107 include/ - GL header (include) files
108 bin/ - shell scripts for making shared libraries, etc
109 docs/ - documentation
110 src/ - source code for libraries
111 src/mesa - sources for the main Mesa library and device drivers
112 src/glu - libGLU source code
113 src/glx - sources for building libGL with full GLX and DRI support
114 src/glw - Xt/Motif/OpenGL widget code
117 If you downloaded and unpacked the MesaDemos.X.Y package:
120 progs/demos - original Mesa demos
121 progs/xdemos - GLX OpenGL/Mesa demos
122 progs/redbook - examples from the OpenGL Programming Guide
123 progs/samples - examples from SGI
124 progs/images/ - image files
127 If you downloaded and unpacked the MesaGLUT.X.Y package:
129 src/glut - GLUT library source code
133 Proceed to the
<a href=
"install.html">compilation and installation