Difference between revisions of "FreeGLUT"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
(I added the "Contents" section from BLFS.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://prdownloads.sourceforge.net/freeglut/freeglut-2.4.0.tar.gz
 
| http://prdownloads.sourceforge.net/freeglut/freeglut-2.4.0.tar.gz
Line 70: Line 70:
 
  install -v -m644 doc/freeglut_user_interface.html \
 
  install -v -m644 doc/freeglut_user_interface.html \
 
     /usr/share/doc/freeglut-2.4.0
 
     /usr/share/doc/freeglut-2.4.0
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| None
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libglut.{so,a}
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/share/doc/freeglut-2.4.0
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! libglut.{so,a}
 +
| contains functions that implement the OpenGL Utility Toolkit.
 +
|}

Revision as of 01:44, 11 December 2006

Download Source: http://prdownloads.sourceforge.net/freeglut/freeglut-2.4.0.tar.gz

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.

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr --x-libraries=${XORG_PREFIX}/lib &&
make

Install the package

make install &&
install -v -d -m755 /usr/share/doc/freeglut-2.4.0 &&
install -v -m644 doc/freeglut_user_interface.html \
    /usr/share/doc/freeglut-2.4.0

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr  \
    --x-libraries=${XORG_PREFIX}/lib &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --x-libraries=${XORG_PREFIX}/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --x-libraries=${XORG_PREFIX}/lib64 &&
make

Install the package

make install &&
install -v -d -m755 /usr/share/doc/freeglut-2.4.0 &&
install -v -m644 doc/freeglut_user_interface.html \
    /usr/share/doc/freeglut-2.4.0

Contents

Installed Programs: None
Installed Libraries: libglut.{so,a}
Installed Directories: /usr/share/doc/freeglut-2.4.0

Short Descriptions

libglut.{so,a} contains functions that implement the OpenGL Utility Toolkit.