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.
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
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
-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
.
Last updated on 2019-08-21 14:22:20 -0700