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.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://downloads.sourceforge.net/freeglut/freeglut-3.8.0.tar.gz
MD5 校验和:ca8361b5b6a64b07795b41bd24f6a23e
大小:528 KB
预计所需磁盘空间:6.5 MB
预计构建时间:小于 0.1 SBU
Install Freeglut by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D FREEGLUT_BUILD_DEMOS=OFF \
-D FREEGLUT_BUILD_STATIC_LIBS=OFF \
-W no-dev .. &&
make
This package does not come with a test suite.
Now, as the root user:
make install
-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.
-D FREEGLUT_GLES=ON: This option makes
FreeGLUT use OpenGL ES instead of normal OpenGL. Use this if you
have not installed GLU-9.0.3.