GLM-0.9.9.5

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 10. Graphics and Font Libraries

- Prev

  giflib-5.2.1

- Next

  Graphite2-1.3.13

- Up
- Home

# GLM-0.9.9.5

## Introduction to GLM

OpenGL Mathematics (GLM) is a header-only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications. An extension system provides extended capabilities such as matrix transformations and quaternions.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): https://github.com/g-truc/glm/archive/0.9.9.5/glm-0.9.9.5.tar.gz

- Download MD5 sum: e06e859bd80c5d6042f5c53630f385ec

- Download size: 4.4 MB

- Estimated disk space required: 50 MB

- Estimated build time: 0.8 SBU

### GLM Dependencies

#### Required

CMake-3.15.2

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

## Installation of GLM

Install GLM by running the following commands:

    mkdir build &&
    cd build    &&

    cmake -DCMAKE_INSTALL_PREFIX=/usr   \
          -DCMAKE_INSTALL_LIBDIR=lib .. &&
    make

To test the results, issue: make test.

Now, as the `root` user:

    make install

## Command Explanations

-DCMAKE_INSTALL_LIBDIR=lib ..: Although no compiled libraries are installed, this command ensures that the cmake and pkg-config files are installed into `/usr/lib`.

## Contents

Installed Program: None.
Installed Library: None.
Installed Directory: /usr/include/glm.

Last updated on 2019-08-21 14:22:20 -0700

- Prev

  giflib-5.2.1

- Next

  Graphite2-1.3.13

- Up
- Home