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     \
            $(! pkgconf libglvnd   &&
            echo -D gl_provider=gl) \
            .. &&

ninja

Now, as the root user:

ninja install &&
rm -vf /usr/lib/libGLU.a

Command Explanations

$(! pkgconf ...): These commands check if the OpenGL provider is not libglvnd. If it's not, it forces the build system to use libGL instead of libOpenGL.

Contents

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

Short Descriptions

libGLU

is the GL Utility library