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

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