3 <TITLE>Getting Mesa
</TITLE>
5 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css"></head>
12 Last stable release:
<b>7.0.4</b>
16 Primary download site:
17 <a href=
"http://sourceforge.net/project/showfiles.php?group_id=3"
18 target=
"_parent">SourceForge
</a>
22 When a new release is coming, release candidates (betas) can be found
23 <a href=
"http://www.mesa3d.org/beta/">here
</a>.
28 Mesa is distributed in several parts:
31 <li><b>MesaLib-x.y.z
</b> - the main Mesa library source code, drivers
34 <li><b>MesaDemos-x.y.z
</b> - OpenGL demonstration and test programs.
35 Most of the programs require GLUT (either the
36 <a href=
"http://www.opengl.org/resources/libraries/glut"
37 target=
"_parent">original GLUT by Mark Kilgard
</a> or
38 <a href=
"http://freeglut.sourceforge.net" target=
"_parent">freeglut
</a> or
39 <a href=
"http://openglut.sourceforge.net" target=
"_parent">OpenGLUT
</a>).
41 <li><b>MesaGLUT-x.y.z
</b> - Mark Kilgard's GLUT, easily compiled and used
42 with Mesa. Plus, other implementation of GLUT for DOS, OS/
2, BeOS, etc.
47 If you're not interested in running the demos, you'll only need the first
52 If you're new to this and not sure what you're doing, grab all three packages.
56 The packages are available in .tar.gz, .tar.bz2 and .zip formats.
57 Other sites might offer additional package formats.
63 All the packages should be in the same directory prior to unpacking.
67 <li>To unpack .tar.gz files:
69 tar zxf MesaLib-X.Y.tar.gz
70 tar zxf MesaDemos-X.Y.tar.gz
71 tar zxf MesaGLUT-X.Y.tar.gz
75 gzcat MesaLib-X.Y.tar.gz | tar xf -
76 gzcat MesaDemos-X.Y.tar.gz | tar xf -
77 gzcat MesaGLUT-X.Y.tar.gz | tar xf -
81 gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
82 gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaDemos-X.Y.tar
83 gunzip MesaGLUT-X.Y.tar.gz ; tar xf MesaGLUT-X.Y.tar
85 <li>To unpack .tar.bz2 files:
87 bunzip2 -c MesaLib-X.Y.tar.gz | tar xf -
88 bunzip2 -c MesaDemos-X.Y.tar.gz | tar xf -
89 bunzip2 -c MesaGLUT-X.Y.tar.gz | tar xf -
91 <li>To unpack .zip files:
94 unzip MesaDemos-X.Y.zip
95 unzip MesaGLUT-X.Y.zip
103 After unpacking you'll have these files and directories (among others):
106 Makefile - top-level Makefile for most systems
107 configs/ - makefile parameter files for various systems
108 include/ - GL header (include) files
109 bin/ - shell scripts for making shared libraries, etc
110 docs/ - documentation
111 src/ - source code for libraries
112 src/mesa - sources for the main Mesa library and device drivers
113 src/glu - libGLU source code
114 src/glx - sources for building libGL with full GLX and DRI support
115 src/glw - Xt/Motif/OpenGL widget code
118 If you downloaded and unpacked the MesaDemos.X.Y package:
121 progs/demos - original Mesa demos
122 progs/xdemos - GLX OpenGL/Mesa demos
123 progs/redbook - examples from the OpenGL Programming Guide
124 progs/samples - examples from SGI
125 progs/images/ - image files
128 If you downloaded and unpacked the MesaGLUT.X.Y package:
130 src/glut - GLUT library source code
134 Proceed to the
<a href=
"install.html">compilation and installation