FreeGLUT: Difference between revisions

From CBLFS
Jump to navigationJump to search
Kalessin (talk | contribs)
I added the "Contents" section from BLFS.
No edit summary
Line 2: Line 2:
|-valign="top"
|-valign="top"
!Download Source:
!Download Source:
| http://prdownloads.sourceforge.net/freeglut/freeglut-2.4.0.tar.gz
| http://prdownloads.sourceforge.net/freeglut/freeglut-{{FreeGLUT-Version}}.tar.gz
|}
|}


Line 26: Line 26:


  make install &&
  make install &&
  install -v -d -m755 /usr/share/doc/freeglut-2.4.0 &&
  install -v -d -m755 /usr/share/doc/freeglut-{{FreeGLUT-Version}} &&
  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-{{FreeGLUT-Version}}


== Multilib ==
== Multilib ==
Line 67: Line 67:


  make install &&
  make install &&
  install -v -d -m755 /usr/share/doc/freeglut-2.4.0 &&
  install -v -d -m755 /usr/share/doc/freeglut-{{FreeGLUT-Version}} &&
  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-{{FreeGLUT-Version}}


= Contents =
= Contents =
Line 82: Line 82:
|-valign="top"
|-valign="top"
! Installed Directories:
! Installed Directories:
| /usr/share/doc/freeglut-2.4.0
| /usr/share/doc/freeglut-{{FreeGLUT-Version}}
|}
|}



Revision as of 11:55, 17 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.