3 <TITLE>Getting Mesa
</TITLE>
5 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css"></head>
12 Current stable release:
<b>7.4.2</b>
14 Last unstable/development release:
<b>7.3</b>
18 Primary download site:
19 <a href=
"http://sourceforge.net/project/showfiles.php?group_id=3"
20 target=
"_parent">SourceForge
</a>
24 When a new release is coming, release candidates (betas) can be found
25 <a href=
"http://www.mesa3d.org/beta/">here
</a>.
30 Mesa is distributed in several parts:
33 <li><b>MesaLib-x.y.z
</b> - the main Mesa library source code, drivers
36 <li><b>MesaDemos-x.y.z
</b> - OpenGL demonstration and test programs.
37 Most of the programs require GLUT (either the
38 <a href=
"http://www.opengl.org/resources/libraries/glut"
39 target=
"_parent">original GLUT by Mark Kilgard
</a> or
40 <a href=
"http://freeglut.sourceforge.net" target=
"_parent">freeglut
</a> or
41 <a href=
"http://openglut.sourceforge.net" target=
"_parent">OpenGLUT
</a>).
43 <li><b>MesaGLUT-x.y.z
</b> - Mark Kilgard's GLUT, easily compiled and used
44 with Mesa. Plus, other implementation of GLUT for DOS, OS/
2, BeOS, etc.
49 If you're not interested in running the demos, you'll only need the first
54 If you're new to this and not sure what you're doing, grab all three packages.
58 The packages are available in .tar.gz, .tar.bz2 and .zip formats.
59 Other sites might offer additional package formats.
65 All the packages should be in the same directory prior to unpacking.
69 <li>To unpack .tar.gz files:
71 tar zxf MesaLib-X.Y.tar.gz
72 tar zxf MesaDemos-X.Y.tar.gz
73 tar zxf MesaGLUT-X.Y.tar.gz
77 gzcat MesaLib-X.Y.tar.gz | tar xf -
78 gzcat MesaDemos-X.Y.tar.gz | tar xf -
79 gzcat MesaGLUT-X.Y.tar.gz | tar xf -
83 gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
84 gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaDemos-X.Y.tar
85 gunzip MesaGLUT-X.Y.tar.gz ; tar xf MesaGLUT-X.Y.tar
87 <li>To unpack .tar.bz2 files:
89 bunzip2 -c MesaLib-X.Y.tar.gz | tar xf -
90 bunzip2 -c MesaDemos-X.Y.tar.gz | tar xf -
91 bunzip2 -c MesaGLUT-X.Y.tar.gz | tar xf -
93 <li>To unpack .zip files:
96 unzip MesaDemos-X.Y.zip
97 unzip MesaGLUT-X.Y.zip
105 After unpacking you'll have these files and directories (among others):
108 Makefile - top-level Makefile for most systems
109 configs/ - makefile parameter files for various systems
110 include/ - GL header (include) files
111 bin/ - shell scripts for making shared libraries, etc
112 docs/ - documentation
113 src/ - source code for libraries
114 src/mesa - sources for the main Mesa library and device drivers
115 src/glu - libGLU source code
116 src/glx - sources for building libGL with full GLX and DRI support
117 src/glw - Xt/Motif/OpenGL widget code
120 If you downloaded and unpacked the MesaDemos.X.Y package:
123 progs/demos - original Mesa demos
124 progs/xdemos - GLX OpenGL/Mesa demos
125 progs/redbook - examples from the OpenGL Programming Guide
126 progs/samples - examples from SGI
127 progs/images/ - image files
130 If you downloaded and unpacked the MesaGLUT.X.Y package:
132 src/glut - GLUT library source code
136 Proceed to the
<a href=
"install.html">compilation and installation