Freeglut-3.0.0

Introduction to Freeglut

Freeglut is intended to be a 100% compatible, completely opensourced clone of the GLUT library. GLUT is a window system independent toolkit for writing OpenGL programs, implementing a simple windowing API, which makes learning about and exploring OpenGL programming very easy.

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

Package Information

Freeglut Dependencies

Required

CMake-3.15.2 and Mesa-19.1.4

Recommended

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

Installation of Freeglut

Install Freeglut by running the following commands:

mkdir build &&
cd    build &&

CMAKE_LIBRARY_PATH=$XORG_PREFIX/lib     \
CMAKE_INCLUDE_PATH=$XORG_PREFIX/include \
cmake -DCMAKE_INSTALL_PREFIX=/usr       \
      -DCMAKE_BUILD_TYPE=Release        \
      -DFREEGLUT_BUILD_DEMOS=OFF        \
      -DFREEGLUT_BUILD_STATIC_LIBS=OFF  \
      .. &&

make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

-DFREEGLUT_BUILD_DEMOS=OFF: Disable building optional demo programs. Note that if you choose to build them, their installation must be done manually. The demo programs are limited and installation is not recommended.

-DFREEGLUT_BUILD_STATIC_LIBS=OFF: Do not build the static library.

Contents

Installed Programs: None
Installed Library: libglut.so
Installed Directories: None

Short Descriptions

libglut.so

contains functions that implement the OpenGL Utility Toolkit.

Last updated on 2019-08-19 21:51:38 -0700