blob: f791db0fb805986f60acbb2445ee9dfaa73b5db4 [file] [log] [blame]
Brian Paul0b27ace2003-03-08 17:38:57 +00001<HTML>
2
3<TITLE>Getting Mesa</TITLE>
4
Brian Paul36da0452005-01-20 03:55:10 +00005<link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7<BODY>
Brian Paul0b27ace2003-03-08 17:38:57 +00008
Brian Paul7f8cb302005-09-10 16:57:22 +00009<H1>Downloading</H1>
Brian Paul0b27ace2003-03-08 17:38:57 +000010
11<p>
Brian Paule3f41ce2006-03-31 23:10:21 +000012Last development release: <b>6.5</b>
Brian Paul0b27ace2003-03-08 17:38:57 +000013</p>
14
15<p>
Brian Paule3f41ce2006-03-31 23:10:21 +000016Last stable release: <b>6.4.2</b>
Brian Paul0b27ace2003-03-08 17:38:57 +000017</p>
18
19<p>
Brian Paul7f8cb302005-09-10 16:57:22 +000020Primary download site:
21<a href="http://sourceforge.net/project/showfiles.php?group_id=3"
22target="_parent">SourceForge</a>
Brian Paul0b27ace2003-03-08 17:38:57 +000023</p>
24
Brian Paul7f8cb302005-09-10 16:57:22 +000025
26<p>
27Mesa is distributed in several parts:
28</p>
29<ul>
30<li><b>MesaLib-x.y.z</b> - the main Mesa library source code, drivers
31 and documentation.
32</li>
33<li><b>MesaDemos-x.y.z</b> - OpenGL demonstration and test programs.
34 Most of the programs require GLUT (either the
Brian Paul3cb56802006-06-23 15:27:32 +000035 <a href="http://www.opengl.org/resources/libraries/glut"
Brian Paul7f8cb302005-09-10 16:57:22 +000036 target="_parent">original GLUT by Mark Kilgard</a> or
37 <a href="http://freeglut.sourceforge.net" target="_parent">freeglut</a> or
Brian Paul3cb56802006-06-23 15:27:32 +000038 <a href="http://openglut.sourceforge.net" target="_parent">OpenGLUT</a>).
Brian Paul7f8cb302005-09-10 16:57:22 +000039</li>
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.
42</li>
43</ul>
44
45<p>
46If you're not interested in running the demos, you'll only need the first
47package.
48</p>
49
50<p>
Brian Pauld9eff8b2006-07-12 20:14:43 +000051If you're new to this and not sure what you're doing, grab all three packages.
52</p>
53
54<p>
Brian Paul7f8cb302005-09-10 16:57:22 +000055The packages are available in .tar.gz, .tar.bz2 and .zip formats.
Brian Pauld9eff8b2006-07-12 20:14:43 +000056Other sites might offer additional package formats.
Brian Paul7f8cb302005-09-10 16:57:22 +000057</p>
58
59<H1>Unpacking</H1>
60
61<p>
62All the packages should be in the same directory prior to unpacking.
63</p>
64
65<ul>
66<li>To unpack .tar.gz files:
Brian Paul0b27ace2003-03-08 17:38:57 +000067<pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000068 tar zxf MesaLib-X.Y.tar.gz
69 tar zxf MesaDemos-X.Y.tar.gz
70 tar zxf MesaGLUT-X.Y.tar.gz
Brian Paul0b27ace2003-03-08 17:38:57 +000071</pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000072or
73<pre>
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 -
77</pre>
78or
79<pre>
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
83</pre>
84<li>To unpack .tar.bz2 files:
85<pre>
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 -
89</pre>
90<li>To unpack .zip files:
91<pre>
92 unzip MesaLib-X.Y.zip
93 unzip MesaDemos-X.Y.zip
94 unzip MesaGLUT-X.Y.zip
95</pre>
96</ul>
97
98
99<h1>Contents</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +0000100
101<p>
Brian Pauld9eff8b2006-07-12 20:14:43 +0000102After unpacking you'll have these files and directories (among others):
Brian Paul0b27ace2003-03-08 17:38:57 +0000103</p>
104<pre>
Brian Paul7f8cb302005-09-10 16:57:22 +0000105Makefile - top-level Makefile for most systems
106configs/ - makefile parameter files for various systems
Brian Paul0b27ace2003-03-08 17:38:57 +0000107include/ - GL header (include) files
Brian Paulafc04282003-09-03 23:04:31 +0000108bin/ - shell scripts for making shared libraries, etc
Brian Paul0b27ace2003-03-08 17:38:57 +0000109docs/ - documentation
Brian Paulafc04282003-09-03 23:04:31 +0000110src/ - source code for libraries
111src/mesa - sources for the main Mesa library and device drivers
112src/glu - libGLU source code
Brian Pauld9eff8b2006-07-12 20:14:43 +0000113src/glx - sources for building libGL with full GLX and DRI support
Brian Paulafc04282003-09-03 23:04:31 +0000114src/glw - Xt/Motif/OpenGL widget code
Brian Paul7f8cb302005-09-10 16:57:22 +0000115</pre>
Brian Paulafc04282003-09-03 23:04:31 +0000116
Brian Paul7f8cb302005-09-10 16:57:22 +0000117If you downloaded and unpacked the MesaDemos.X.Y package:
Brian Paul0b27ace2003-03-08 17:38:57 +0000118
Brian Paul7f8cb302005-09-10 16:57:22 +0000119<pre>
Brian Paulafc04282003-09-03 23:04:31 +0000120progs/demos - original Mesa demos
121progs/xdemos - GLX OpenGL/Mesa demos
122progs/redbook - examples from the OpenGL Programming Guide
123progs/samples - examples from SGI
124progs/images/ - image files
Brian Paul7f8cb302005-09-10 16:57:22 +0000125</pre>
Brian Paul0b27ace2003-03-08 17:38:57 +0000126
Brian Paul7f8cb302005-09-10 16:57:22 +0000127If you downloaded and unpacked the MesaGLUT.X.Y package:
128<pre>
129src/glut - GLUT library source code
Brian Paul0b27ace2003-03-08 17:38:57 +0000130</pre>
131
132<p>
Brian Paul7f8cb302005-09-10 16:57:22 +0000133Proceed to the <a href="install.html">compilation and installation
Brian Paul0b27ace2003-03-08 17:38:57 +0000134instructions</a>.
135</p>
136
Brian Paul0b27ace2003-03-08 17:38:57 +0000137
138</BODY>
139</HTML>