MesaLib-7.6

Introduction to MesaLib

Mesa is an OpenGL compatible 3-D graphics library.

Package Information

Additional Download

Recommended demonstration and diagnostic utilities for verifying OpenGL operation

MesaLib Dependencies

Required

Xorg Libraries, Xorg Utilities, libdrm-2.4.14, and expat-2.0.1

Optional

libxcb-1.4 and LessTif-0.95.2

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/mesalib

Installation of MesaLib

Extract both tarballs from the same top-level directory as both will extract to the Mesa-7.6 directory.

Install MesaLib by running the following commands:

sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
./configure $XORG_CONFIG &&
make

This package does not come with a test suite.

Now, as the root user:

make install

If you built the demo programs, install them using the following command as the root user:

install -v -m755 progs/xdemos/glx{info,gears} ${XORG_PREFIX}/bin

Finally, if installing to any prefix other than /usr, you should create symlinks to the GL headers in /usr/include. Execute the following command as the root user:

ln -s -v ${XORG_PREFIX}/include/GL /usr/include

Command Explanations

sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure: by default, Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS and CXXFLAGS with this command.

--enable-xcb: use the XCB backend instead of the default XLib backend for GLX.

--enable-motif: build motif widgets into the GL widgets library (requires lesstif).

Contents

Installed Programs (optional): glxgears and glxinfo
Installed Libraries: libEGL.so, libGL.so, libGLU.so, libGLw.so, and *_dri.so
Installed Directories: $XORG_PREFIX/lib/modules/dri and $XORG_PREFIX/share/doc/MesaLib-7.6

Short Descriptions

glxgears

is a GL demo useful for troubleshooting graphics problems.

glxinfo

is a diagnostic program that displays information about the graphics hardware and installed GL libraries.

libEGL.so

provides a native platform graphics interface as defined by the EGL-1.4 specification.

libGL.so

is the main OpenGL library.

libGLU.so

is the OpenGL Utility library.

libGLw.so

is the Xt/Motif OpenGL drawing area widget library.

Last updated on 2009-10-31 16:50:02 +0000