Difference between revisions of "FreeGLUT"

From CBLFS
Jump to navigationJump to search
(Introduction to FreeGLUT)
Line 9: Line 9:
 
== Introduction to FreeGLUT ==
 
== 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.
+
<Package Description Needed>
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 23:00, 11 January 2007

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

Introduction to FreeGLUT

<Package Description Needed>

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.