- Mesa 3.0 Unix/X11 Information
+ Mesa 3.5 Unix/X11 Information
Installation
============
-To compile the library, first type 'make' alone to see the list of system
-configurations currently supported. If you see your configuration on the
-list, type 'make <config>'. Most popular Unix/X workstations are currently
-supported.
+There are two ways to compile Mesa on Unix/X11 systems:
+
+1. The old way:
+ First type 'make' alone to see the list of system
+ configurations currently supported. If you see your configuration on the
+ list, type 'make <config>'. Most popular Unix/X workstations are currently
+ supported.
+
+ If your system configuration is not listed by 'make', you'll have to modify
+ the top-level Makefile and Make-config files. There are instructions in
+ each file.
+
+
+2. The new way:
+ Type './configure' and then 'make'. This uses GNU autoconfig.
+ See docs/INSTALL for more details.
+
The top-level makefile will execute the makefiles in a number of sub-
-directories. When finished, the Mesa libraries will be in the Mesa-2.6/lib/
+directories. When finished, the Mesa libraries will be in the Mesa-3.5/lib/
directory. A few GLUT demos in the demos/ directory should be ready to run.
If you also downloaded and unpacked the demos there should be executables
in the "xdemos/", "samples/", and "book/" directories for you to try out.
-If you only want to compile the contents of one subdirectory you can 'cd'
-to that directory and type 'make <config>' there.
-
-If your system configuration is not listed by 'make', you'll have to modify
-the top-level Makefile and Make-config files. There are instructions in
-each file.
If you have compilation problems you should try to fix them and return the
patches to the author.
+Notes on assembly language optimizations:
+
+ When using the old-style Makefiles, you can specify a configuration
+ that uses X86 assembly language optimizations (linux-3dnow for example).
+
+ The detection of MMX, 3DNow!, PIII/SSE, etc capability is done at
+ runtime. That means you can compile Mesa for 3DNow! optimizations
+ even if you don't have an AMD CPU.
+
+ However, your Linux binutils and assembler must understand the
+ special instructions in order to compile them. If you have
+ compilation problems, try upgrading your binutils.
+
+
Header and library files:
After you've compiled Mesa and tried the demos I recommend the following
procedure for "installing" Mesa.
(actually, use "cp -d" on Linux to preserve symbolic links)
- Create a few symbolic links so that compiling OpenGL applications is easy:
- cd /usr/local/lib
- IF USING STATIC (lib*.a) FILES THEN
- ln -s libMesaGL.a libGL.a
- ln -s libMesaGLU.a libGLU.a
- ELSE
- ln -s libMesaGL.so libGL.so
- ln -s libMesaGLU.so libGLU.so
- ENDIF
-
Xt/Motif widgets:
If you want to use Mesa or OpenGL in your Xt/Motif program you can build
in /usr/local/Mesa and using the C-shell:
% cd /usr/local/Mesa
% make irix5-dso
- % cd lib
- % ln -s libMesaGL.so libGL.so
% setenv _RLD_LIST "/usr/local/Mesa/lib/libGL.so:DEFAULT"
% /usr/demos/bin/ideas_ogl // this is a test
Togl:
Togl is an OpenGL/Mesa widget for Tcl/Tk.
- See http://www.ssec.wisc.edu/~brianp/Togl.html for more information.
+ See http://togl.sourceforge.net for more information.
The following OpenGL GLX extensions are currently implemented:
GLX_EXT_visual_info - GLX visual and transparent pixel extension
+ GLX_EXT_visual_rating - GLX visual caveats
For detailed information about the extensions see www.opengl.org
----------------------------------------------------------------------
-$Id: README.X11,v 3.2 1998/10/03 12:48:50 brianp Exp $
+$Id: README.X11,v 3.6 2001/06/20 19:02:48 brianp Exp $