From 7a2af605c2c2b0d2e9bbb0b161eba8842acefbcb Mon Sep 17 00:00:00 2001
From: marha
The following are required for DRI-based hardware acceleration with Mesa:
@@ -61,10 +59,10 @@ version 2.4.33 or later
Compiling and Installing
+Compiling and Installing
-
-1. Prerequisites for building
+1. Prerequisites for building
1.1 General
@@ -46,8 +45,7 @@ To build OpenGL ES 1.1 and 2.0 you'll also need
-
-1.2 For DRI and hardware acceleration
+1.2 For DRI and hardware acceleration
If you're using a fedora distro the following command should install all the needed dependencies: +
sudo yum install flex bison imake libtool xorg-x11-proto-devel libdrm-devel \ gcc-c++ xorg-x11-server-devel libXi-devel libXmu-devel libXdamage-devel git \ @@ -73,8 +71,7 @@ the needed dependencies: - -2. Building with autoconf (Linux/Unix/X11)
+2. Building with autoconf (Linux/Unix/X11)
The primary method to build Mesa on Unix systems is with autoconf. @@ -82,19 +79,20 @@ The primary method to build Mesa on Unix systems is with autoconf.
The general approach is the standard: +
./configure make sudo make install+But please read the detailed autoconf instructions for more details.
- -3. Building with SCons (Windows/Linux)
+3. Building with SCons (Windows/Linux)
To build Mesa with SCons on Linux or Windows do @@ -119,8 +117,8 @@ To build Mesa with SCons for Windows on Linux using the MinGW crosscompiler tool This will create:
-
- build/windows-x86-debug/mesa/drivers/windows/gdi/opengl32.dll — Mesa + swrast, binary compatible with Windows's opengl32.dll -
- build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll — Mesa + Gallium + softpipe, binary compatible with Windows's opengl32.dll +
- build/windows-x86-debug/mesa/drivers/windows/gdi/opengl32.dll — Mesa + swrast, binary compatible with Windows's opengl32.dll +
- build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll — Mesa + Gallium + softpipe, binary compatible with Windows's opengl32.dll
Put them all in the same directory to test them. @@ -128,23 +126,21 @@ Put them all in the same directory to test them. - -
4. Building for other systems
+4. Building for other systems
Documentation for other environments (some may be very out of date):
--
+- README.VMS - VMS -
- README.CYGWIN - Cygwin -
- README.WIN32 - Win32 -
+
- -- README.VMS - VMS +
- README.CYGWIN - Cygwin +
- README.WIN32 - Win32 +
5. Library Information
+5. Library Information
When compilation has finished, look in the top-level
- -lib/
@@ -188,8 +184,7 @@ versions of libGL and device drivers.6. Building OpenGL programs with pkg-config
+6. Building OpenGL programs with pkg-config
Running
make install
will install package configuration files -- cgit v1.2.3