blob: b30b98ff9beaf320b4ee11def162b65ab1623ac2 [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
9<H1>Downloading / Unpacking</H1>
10
11<p>
12Mesa can be downloaded from the
13<a href="http://www.sourceforge.net/projects/mesa3d" target="_parent">
14SourceForge download area</A>.
15</p>
16
17<p>
18Since version 2.3, Mesa is distributed in two pieces: main library code
19and demos. If you're upgrading from a previous version of Mesa or you're not
20interested in the demos you can just download the core Mesa archive file.
21</p>
22
23<p>
24Mesa is available in at least three archive formats:
25</p>
26
27<pre>
281. GNU zip/tar
29
30 Download MesaLib-X.Y.tar.gz and optionally MesaDemos-X.Y.tar.gz
31 Unpack with:
32 gzcat MesaLib-X.Y.tar.gz | tar xf -
33 gzcat MesaDemos-X.Y.tar.gz | tar xf -
34 or
35 gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
36 gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
37 or
38 tar zxf MesaLib-X.Y.tar.gz
39 tar zxf MesaDemos-X.Y.tar.gz
40
41 If you don't have gzcat try zcat instead.
42
432. Unix compressed/tar
44
45 Download MesaLib-X.Y.tar.Z and optionally MesaDemos-X.Y.tar.Z
46 Unpack with:
47 zcat MesaLib-X.Y.tar.Z | tar xf -
48 zcat MesaDemos-X.Y.tar.Z | tar xf -
49
503. ZIP format
51
52 Download MesaLib-X.Y.zip and optionally MesaDemos-X.Y.zip
53 Unpack with:
54 unzip MesaLib-X.Y.zip
55 unzip MesaDemos-X.Y.zip
56</pre>
57
58<p>
59After unpacking you'll have these directories (and more):
60</p>
61<pre>
Brian Paulafc04282003-09-03 23:04:31 +000062Makefile.X11 - top-level Makefile for X11-based systems
Brian Paul0b27ace2003-03-08 17:38:57 +000063Make-config - system configurations used by the Makefile.X11
Brian Paul0b27ace2003-03-08 17:38:57 +000064include/ - GL header (include) files
Brian Paulafc04282003-09-03 23:04:31 +000065bin/ - shell scripts for making shared libraries, etc
66lib/ - final client libraries, created during compilation
Brian Paul0b27ace2003-03-08 17:38:57 +000067docs/ - documentation
Brian Paulafc04282003-09-03 23:04:31 +000068src/ - source code for libraries
69src/mesa - sources for the main Mesa library and device drivers
70src/glu - libGLU source code
71src/glw - Xt/Motif/OpenGL widget code
72
Brian Paul0b27ace2003-03-08 17:38:57 +000073
Brian Paulb0eee792003-03-16 16:43:04 +000074and if you downloaded and unpacked the MesaDemos.X.Y archive:
Brian Paul0b27ace2003-03-08 17:38:57 +000075
Brian Paulafc04282003-09-03 23:04:31 +000076src/glut - GLUT source code
77progs/ - OpenGL programs
78progs/demos - original Mesa demos
79progs/xdemos - GLX OpenGL/Mesa demos
80progs/redbook - examples from the OpenGL Programming Guide
81progs/samples - examples from SGI
82progs/images/ - image files
Brian Paul0b27ace2003-03-08 17:38:57 +000083
84</pre>
85
86<p>
87Proceed to <a href="install.html">compilation and installation
88instructions</a>.
89</p>
90
91<H1>GLUT</H1>
92
93<p>
94Mesa 2.5 and later includes Mark Kilgard's GLUT library (GL Utility Toolkit).
95GLUT is built automatically on systems which support it.
96</p>
97<p>
98The GLUT tests, demos, examples, etc are not included, just the main library.
99To obtain the latest complete release of GLUT please visit the
Brian Paulc9d2f4c2004-01-26 00:30:08 +0000100<a href="http://www.opengl.org/resources/libraries/glut.html"
101target ="_parent">GLUT page</a> on www.opengl.org.
Brian Paul0b27ace2003-03-08 17:38:57 +0000102</p>
103
104
105</BODY>
106</HTML>