Difference between revisions of "FreeGLUT"

From CBLFS
Jump to navigationJump to search
Line 18: Line 18:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s/-Werror//" configure &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 34: Line 35:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s/-Werror//" configure &&
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
Line 46: Line 48:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s/-Werror//" configure &&
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
Line 58: Line 61:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "s/-Werror//" configure &&
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&

Revision as of 13:55, 30 September 2007

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

Introduction to FreeGLUT

Project Homepage: Unknown

Dependencies

Required

Non-Multilib

Compile the package:

sed -i "s/-Werror//" configure &&
./configure --prefix=/usr &&
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:

sed -i "s/-Werror//" configure &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

sed -i "s/-Werror//" configure &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i "s/-Werror//" configure &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/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.