GLU-9.0.3

Introduction to GLU

This package provides the GL Utility library. This package isn't needed by any other in the book, but this package in BLFS has instructions that won't work on a system with libglvnd. Its installation is thus provided here. If you want, you may skip this package. But when in BLFS or SLFS, and a package lists GLU as a dependency, use this page for its installation to ensure compatibility instead of the one in BLFS.

GLU Dependencies

Required
libglvnd-1.7.0

Installation of GLU

Install GLU by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=$XORG_PREFIX                       \
            --buildtype=release                         \
            -D default_library=shared                   \
            $(pkgconf opengl || echo -D gl_provider=gl) \
            .. &&
ninja

Now, as the root user:

ninja install

Command Explanations

-D default_library=shared: This parameter ensures only the shared library is installed.

$(pkgconf ...): These commands check if libOpenGL is provided, or else it forces libGL to be used instead.

Contents

Installed Programs: None
Installed Library: libGLU
Installed Directories: None

Short Descriptions

libGLU

is the GL Utility library