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-11.2 platform.
Download (HTTP): https://downloads.sourceforge.net/freeglut/freeglut-3.2.2.tar.gz
Download MD5 sum: 485c1976165315fc42c0b0a1802816d9
Download size: 388 KB
Estimated disk space required: 4.9 MB
Estimated build time: less than 0.1 SBU
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/freeglut
Install Freeglut by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DFREEGLUT_BUILD_DEMOS=OFF \ -DFREEGLUT_BUILD_STATIC_LIBS=OFF \ -Wno-dev .. && make
This package does not come with a test suite.
Now, as the root
user:
make install
-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.