Latest Release: 1.10.0

GLEW Logo

Download
Usage
Building
Installation
Source Generation
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker

Last Update: 07-22-13
OpenGL Logo SourceForge Logo

The OpenGL Extension Wrangler Library

Building GLEW

Windows

A MS Visual Studio project is provided in the build/vc6 directory.

Pre-built shared and static libraries are also available for download.

Makefile

For platforms other than MS Windows, the provided Makefile is used.

Command-line variables

SYSTEMauto Target system to build: darwin, linux, solaris, etc.
For a full list of supported targets: ls config/Makefile.*
config.guess is used to auto detect, as necessary.
GLEW_DEST/usr Base directory for installation.

Make targets

allBuild everything.
glew.libBuild static and dynamic GLEW libraries.
glew.lib.mxBuild static and dynamic GLEWmx libraries.
glew.binBuild glewinfo and visualinfo utilities.
cleanDelete temporary and built files.
install.allInstall everything.
installInstall GLEW libraries.
install.mxInstall GLEWmx libraries.
install.binInstall glewinfo and visualinfo utilities.
uninstallDelete installed files.

Requirements

  • GNU make
  • perl
  • wget
  • GNU sed
  • gcc compiler
Ubuntu:
sudo apt-get install libXmu-dev libXi-dev libgl-dev dos2unix
Fedora:
sudo yum install libXmu-devel libXi-devel libGL-devel dos2unix