blob: b0b672b5e185634183bcaabbbfb4ebbe7043a341 [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>
Brian5d735022008-04-04 19:26:29 -060012Last stable release: <b>7.0.3</b>
Brian Paul0b27ace2003-03-08 17:38:57 +000013</p>
14
15<p>
Brian Paul7f8cb302005-09-10 16:57:22 +000016Primary download site:
17<a href="http://sourceforge.net/project/showfiles.php?group_id=3"
18target="_parent">SourceForge</a>
Brian Paul0b27ace2003-03-08 17:38:57 +000019</p>
20
Brian Paul7f8cb302005-09-10 16:57:22 +000021
22<p>
23Mesa is distributed in several parts:
24</p>
25<ul>
26<li><b>MesaLib-x.y.z</b> - the main Mesa library source code, drivers
27 and documentation.
28</li>
29<li><b>MesaDemos-x.y.z</b> - OpenGL demonstration and test programs.
30 Most of the programs require GLUT (either the
Brian Paul3cb56802006-06-23 15:27:32 +000031 <a href="http://www.opengl.org/resources/libraries/glut"
Brian Paul7f8cb302005-09-10 16:57:22 +000032 target="_parent">original GLUT by Mark Kilgard</a> or
33 <a href="http://freeglut.sourceforge.net" target="_parent">freeglut</a> or
Brian Paul3cb56802006-06-23 15:27:32 +000034 <a href="http://openglut.sourceforge.net" target="_parent">OpenGLUT</a>).
Brian Paul7f8cb302005-09-10 16:57:22 +000035</li>
36<li><b>MesaGLUT-x.y.z</b> - Mark Kilgard's GLUT, easily compiled and used
37 with Mesa. Plus, other implementation of GLUT for DOS, OS/2, BeOS, etc.
38</li>
39</ul>
40
41<p>
42If you're not interested in running the demos, you'll only need the first
43package.
44</p>
45
46<p>
Brian Pauld9eff8b2006-07-12 20:14:43 +000047If you're new to this and not sure what you're doing, grab all three packages.
48</p>
49
50<p>
Brian Paul7f8cb302005-09-10 16:57:22 +000051The packages are available in .tar.gz, .tar.bz2 and .zip formats.
Brian Pauld9eff8b2006-07-12 20:14:43 +000052Other sites might offer additional package formats.
Brian Paul7f8cb302005-09-10 16:57:22 +000053</p>
54
55<H1>Unpacking</H1>
56
57<p>
58All the packages should be in the same directory prior to unpacking.
59</p>
60
61<ul>
62<li>To unpack .tar.gz files:
Brian Paul0b27ace2003-03-08 17:38:57 +000063<pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000064 tar zxf MesaLib-X.Y.tar.gz
65 tar zxf MesaDemos-X.Y.tar.gz
66 tar zxf MesaGLUT-X.Y.tar.gz
Brian Paul0b27ace2003-03-08 17:38:57 +000067</pre>
Brian Paul7f8cb302005-09-10 16:57:22 +000068or
69<pre>
70 gzcat MesaLib-X.Y.tar.gz | tar xf -
71 gzcat MesaDemos-X.Y.tar.gz | tar xf -
72 gzcat MesaGLUT-X.Y.tar.gz | tar xf -
73</pre>
74or
75<pre>
76 gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
77 gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaDemos-X.Y.tar
78 gunzip MesaGLUT-X.Y.tar.gz ; tar xf MesaGLUT-X.Y.tar
79</pre>
80<li>To unpack .tar.bz2 files:
81<pre>
82 bunzip2 -c MesaLib-X.Y.tar.gz | tar xf -
83 bunzip2 -c MesaDemos-X.Y.tar.gz | tar xf -
84 bunzip2 -c MesaGLUT-X.Y.tar.gz | tar xf -
85</pre>
86<li>To unpack .zip files:
87<pre>
88 unzip MesaLib-X.Y.zip
89 unzip MesaDemos-X.Y.zip
90 unzip MesaGLUT-X.Y.zip
91</pre>
92</ul>
93
94
95<h1>Contents</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +000096
97<p>
Brian Pauld9eff8b2006-07-12 20:14:43 +000098After unpacking you'll have these files and directories (among others):
Brian Paul0b27ace2003-03-08 17:38:57 +000099</p>
100<pre>
Brian Paul7f8cb302005-09-10 16:57:22 +0000101Makefile - top-level Makefile for most systems
102configs/ - makefile parameter files for various systems
Brian Paul0b27ace2003-03-08 17:38:57 +0000103include/ - GL header (include) files
Brian Paulafc04282003-09-03 23:04:31 +0000104bin/ - shell scripts for making shared libraries, etc
Brian Paul0b27ace2003-03-08 17:38:57 +0000105docs/ - documentation
Brian Paulafc04282003-09-03 23:04:31 +0000106src/ - source code for libraries
107src/mesa - sources for the main Mesa library and device drivers
108src/glu - libGLU source code
Brian Pauld9eff8b2006-07-12 20:14:43 +0000109src/glx - sources for building libGL with full GLX and DRI support
Brian Paulafc04282003-09-03 23:04:31 +0000110src/glw - Xt/Motif/OpenGL widget code
Brian Paul7f8cb302005-09-10 16:57:22 +0000111</pre>
Brian Paulafc04282003-09-03 23:04:31 +0000112
Brian Paul7f8cb302005-09-10 16:57:22 +0000113If you downloaded and unpacked the MesaDemos.X.Y package:
Brian Paul0b27ace2003-03-08 17:38:57 +0000114
Brian Paul7f8cb302005-09-10 16:57:22 +0000115<pre>
Brian Paulafc04282003-09-03 23:04:31 +0000116progs/demos - original Mesa demos
117progs/xdemos - GLX OpenGL/Mesa demos
118progs/redbook - examples from the OpenGL Programming Guide
119progs/samples - examples from SGI
120progs/images/ - image files
Brian Paul7f8cb302005-09-10 16:57:22 +0000121</pre>
Brian Paul0b27ace2003-03-08 17:38:57 +0000122
Brian Paul7f8cb302005-09-10 16:57:22 +0000123If you downloaded and unpacked the MesaGLUT.X.Y package:
124<pre>
125src/glut - GLUT library source code
Brian Paul0b27ace2003-03-08 17:38:57 +0000126</pre>
127
128<p>
Brian Paul7f8cb302005-09-10 16:57:22 +0000129Proceed to the <a href="install.html">compilation and installation
Brian Paul0b27ace2003-03-08 17:38:57 +0000130instructions</a>.
131</p>
132
Brian Paul0b27ace2003-03-08 17:38:57 +0000133
134</BODY>
135</HTML>