Difference between revisions of "FreeGLUT"

From CBLFS
Jump to navigationJump to search
(32Bit)
(I added the package description from BLFS.)
Line 6: Line 6:
  
 
----
 
----
 +
 +
== 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 ==
 
== Dependencies ==

Revision as of 20:07, 2 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
Retrieved from "?title=FreeGLUT&oldid=4280"