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 7.8-systemd platform.

Package Information

Freeglut Dependencies


CMake-3.4.0 and Mesa-11.0.2


User Notes:

Installation of Freeglut

Install Freeglut by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr      \
      -DCMAKE_BUILD_TYPE=Release       \


This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

-DFREEGLUT_BUILD_DEMOS=ON: This parameter enables building of the optional demo programs. Installation of the demo programs must be done manually. The demo programs are limited and installation is not recommended.

-DFREEGLUT_BUILD_STATIC_LIBS=OFF: This parameter prevents static library from being built and installed.


Installed Programs: None
Installed Library:
Installed Directories: None

Short Descriptions

contains functions that implement the OpenGL Utility Toolkit.

Last updated on 2015-10-07 22:00:22 -0500