GLEW-2.2.0

Introduction to GLEW

GLEW is the OpenGL Extension Wrangler Library.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

  • Download (HTTP): https://downloads.sourceforge.net/glew/glew-2.2.0.tgz

  • Download SHA256 Sum: d4fc82893cfb00109578d0a1a2337fb8ca335b3ceccf97b97e5cc7f08e4353e1

  • Download MD5 sum: 3579164bccaef09e36c0af7f4fd5c7c7

  • Download size: 5,302.4 KB

  • Estimated disk space required: 9,147.8 KB

  • Estimated build time: less than 0.1 SBU

glew Dependencies

Required

Mesa-25.2.7

Installation of GLEW

Compile GLEW by running the following commands:

sed -i 's%lib64%lib%g' config/Makefile.linux
sed -i -e '/glew.lib.static:/d' \
       -e '/0644 .*STATIC/d'    \
       -e 's/glew.lib.static//' Makefile

make

This package does not come with a test suite.

Now Install the package as the root user:

make install.all

Command Explanations

sed -i 's%lib64%lib%g' ...: This ensures that the library is installed in /usr/lib.

sed -i -e '/glew.lib.static:/d' ...: This suppresses the static library.

make install.all: This installs the programs as well as the library.

Contents

Installed Programs: glewinfo and visualinfo
Installed Library: libGLEW.so
Installed Directory: /usr/include/GL

Short Descriptions

glewinfo

provides information about the supported extensions

visualinfo

is an extended version of glxinfo

libGLEW.so

provides functions to access OpenGL extensions