Freeglut-3.8.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 12.4 platform.

Package Information

  • Download (HTTP): https://downloads.sourceforge.net/freeglut/freeglut-3.8.0.tar.gz

  • Download SHA256 Sum: 674dcaff25010e09e450aec458b8870d9e98c46f99538db457ab659b321d9989

  • Download MD5 sum: ca8361b5b6a64b07795b41bd24f6a23e

  • Download size: 528 KB

  • Estimated disk space required: 6.5 MB

  • Estimated build time: less than 0.1 SBU

Freeglut Dependencies

Required

CMake-4.1.3 and Mesa-25.2.7

Recommended

Installation of Freeglut

Prepare Freeglut by running the following commands:

cmake -B build -D CMAKE_INSTALL_PREFIX=/usr \
      -D CMAKE_BUILD_TYPE=Release         \
      -D FREEGLUT_BUILD_DEMOS=OFF         \
      -D FREEGLUT_BUILD_STATIC_LIBS=OFF   \
      -W no-dev
cmake --build build

This package does not come with a test suite.

Now Install, as the root user:

cmake --install build

Command Explanations

-D FREEGLUT_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.

-D FREEGLUT_BUILD_STATIC_LIBS=OFF: Do not build the static library.

Contents

Installed Programs: None
Installed Library: libglut.so
Installed Directories: /usr/lib/cmake/FreeGLUT

Short Descriptions

libglut.so

contains functions that implement the OpenGL Utility Toolkit