freeglut-2.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-7.1 platform.

Package Information

freeglut Dependencies

Required

MesaLib-8.0.2

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

Installation of freeglut

Some of the demo programs in freeglut are quite old and do not follow current practice when looking for libraries. If your $XORG_PREFIX is not /usr, add the following command:

export LIBRARY_PATH=$XORG_PREFIX/lib

Install freeglut by running the following commands:

./configure --prefix=$XORG_PREFIX --disable-static &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
mkdir -p $XORG_PREFIX/share/doc/freeglut-2.8.0 &&
cp doc/*.{html,png} $XORG_PREFIX/share/doc/freeglut-2.8.0

Command Explanations

--disable-static: This option stops it compiling a static version of the library.

Contents

Installed Libraries: libglut.so
Installed Directories: <$XORG_PREFIX>/share/doc/freeglut-2.8.0

Short Descriptions

libglut.so

contains functions that implement the OpenGL Utility Toolkit.

Last updated on 2012-05-16 21:47:06 +0000