aboutsummaryrefslogtreecommitdiffstats
path: root/docs/download.html
blob: 79b34e4990f86d7b9b288db2c0dffacacc0aa39c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<HTML>

<TITLE>Getting Mesa</TITLE>

<BODY text="#000000" bgcolor="#55bbff" link="#111188">

<H1>Downloading / Unpacking</H1>

<p>
Mesa can be downloaded from the
<a href="http://www.sourceforge.net/projects/mesa3d" target="_parent">
SourceForge download area</A>.
</p>

<p>
Since version 2.3, Mesa is distributed in two pieces:  main library code
and demos.  If you're upgrading from a previous version of Mesa or you're not
interested in the demos you can just download the core Mesa archive file.
</p>

<p>
Mesa is available in at least three archive formats:
</p>

<pre>
1. GNU zip/tar

	Download MesaLib-X.Y.tar.gz and optionally MesaDemos-X.Y.tar.gz
	Unpack with:
		gzcat MesaLib-X.Y.tar.gz | tar xf -
		gzcat MesaDemos-X.Y.tar.gz | tar xf -
	or
		gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
		gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
	or
		tar zxf MesaLib-X.Y.tar.gz
		tar zxf MesaDemos-X.Y.tar.gz

	If you don't have gzcat try zcat instead.

2. Unix compressed/tar

	Download MesaLib-X.Y.tar.Z and optionally MesaDemos-X.Y.tar.Z
	Unpack with:
		zcat MesaLib-X.Y.tar.Z | tar xf -
		zcat MesaDemos-X.Y.tar.Z | tar xf -

3. ZIP format

	Download MesaLib-X.Y.zip and optionally MesaDemos-X.Y.zip
	Unpack with:
		unzip MesaLib-X.Y.zip
		unzip MesaDemos-X.Y.zip
</pre>

<p>
After unpacking you'll have these directories (and more):
</p>
<pre>
Makefile.X11	- "old" top-level Makefile for X11-based systems
Make-config	- system configurations used by the Makefile.X11
configure	- the GNU autoconf script
bin/		- shell scripts for making shared libraries, etc
include/	- GL header (include) files
lib/		- client libraries, created during installation
src/		- source code for the main libGL library
si-glu/		- SGI Sample Implementation of libGLU
src-glu/	- old source code for libGLU (obsolete)
docs/		- documentation
util/		- handly utility functions
widgets-mesa/	- Mesa widgets for Xt/Motif (obsolete)
widgets-sgi/	- SGI OpenGL widgets for Xt/Motif

and if you downloaded and unpacked the demos:

src-glut/	- source code for GLUT toolkit
demos/		- GLUT demos
xdemos/		- X11 and SVGA demo programs
samples/	- sample OpenGL programs from SGI
book/		- example programs from the OpenGL Programming Guide,
		  converted to GLUT by Mark Kilgard, from GLUT distribution.
images/		- image files

</pre>

<p>
Proceed to <a href="install.html">compilation and installation
instructions</a>.
</p>

<H1>GLUT</H1>

<p>
Mesa 2.5 and later includes Mark Kilgard's GLUT library (GL Utility Toolkit).
GLUT is built automatically on systems which support it.
</p>
<p>
The GLUT tests, demos, examples, etc are not included, just the main library.
To obtain the latest complete release of GLUT please visit the
<a href="http://www.opengl.org/developers/documentation/glut/index.html"
target ="_parent">GLUT homepage</a>
</p>


</BODY>
</HTML>