download/install updates
This commit is contained in:
@@ -47,9 +47,13 @@ If you're not interested in running the demos, you'll only need the first
|
|||||||
package.
|
package.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
If you're new to this and not sure what you're doing, grab all three packages.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The packages are available in .tar.gz, .tar.bz2 and .zip formats.
|
The packages are available in .tar.gz, .tar.bz2 and .zip formats.
|
||||||
Other organizations might offer additional package formats.
|
Other sites might offer additional package formats.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H1>Unpacking</H1>
|
<H1>Unpacking</H1>
|
||||||
@@ -95,7 +99,7 @@ or
|
|||||||
<h1>Contents</h1>
|
<h1>Contents</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
After unpacking you'll have these directories:
|
After unpacking you'll have these files and directories (among others):
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
Makefile - top-level Makefile for most systems
|
Makefile - top-level Makefile for most systems
|
||||||
@@ -106,6 +110,7 @@ docs/ - documentation
|
|||||||
src/ - source code for libraries
|
src/ - source code for libraries
|
||||||
src/mesa - sources for the main Mesa library and device drivers
|
src/mesa - sources for the main Mesa library and device drivers
|
||||||
src/glu - libGLU source code
|
src/glu - libGLU source code
|
||||||
|
src/glx - sources for building libGL with full GLX and DRI support
|
||||||
src/glw - Xt/Motif/OpenGL widget code
|
src/glw - Xt/Motif/OpenGL widget code
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@@ -32,6 +32,7 @@ a software renderer using Xlib to do all rendering.
|
|||||||
The libGL.so library will be a self-contained rendering library that will
|
The libGL.so library will be a self-contained rendering library that will
|
||||||
allow you to run OpenGL/GLX applications on any X server (regardless of
|
allow you to run OpenGL/GLX applications on any X server (regardless of
|
||||||
whether it supports the GLX X server extension).
|
whether it supports the GLX X server extension).
|
||||||
|
You will <em>not</em> be able to use hardware 3D acceleration.
|
||||||
<p>
|
<p>
|
||||||
To compile stand-alone Mesa type <b>make</b> in the top-level directory.
|
To compile stand-alone Mesa type <b>make</b> in the top-level directory.
|
||||||
You'll see a list of supported system configurations.
|
You'll see a list of supported system configurations.
|
||||||
@@ -126,7 +127,7 @@ Later, if you want to rebuild for a different configuration run
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
When compilation has finished, look in the top-level <code>lib/</code>
|
When compilation has finished, look in the top-level <code>lib/</code>
|
||||||
directory.
|
(or <code>lib64/</code>) directory.
|
||||||
You'll see a set of library files similar to this:
|
You'll see a set of library files similar to this:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
@@ -278,14 +279,16 @@ already installed, you'll have to choose different directories, like
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To install Mesa's headers and libraries, run <code>make install</code>
|
To install Mesa's headers and libraries, run <code>make install</code>.
|
||||||
You'll be prompted to enter alternative directories for the headers
|
But first, check the Mesa/configs/default file and examine the values
|
||||||
and libraries.
|
of the <b>INSTALL_DIR</b> and <b>DRI_DRIVER_INSTALL_DIR</b> variables.
|
||||||
|
Change them if needed, then run <code>make install</code>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Note: at runtime, you can set the LD_LIBRARY_PATH (on Linux) to switch
|
Note: at runtime you can use the LD_LIBRARY_PATH environment variable
|
||||||
between the Mesa libs and another vendor libs whenever you want.
|
(on Linux at least) to switch
|
||||||
|
between the Mesa libraries and other vendor's libraries whenever you want.
|
||||||
This is a handy way to compare multiple OpenGL implementations.
|
This is a handy way to compare multiple OpenGL implementations.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user