Latest Release: 2.3.0

GLEW Logo

Download
Usage
Building
Installation
Source Generation

GitHub
Issues
Pull Requests
Releases


Also
Perlmint/glew-cmake


Last Update: 10-10-23
OpenGL Logo
GitHub 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
  • git
Ubuntu:
sudo apt-get install libXmu-dev libXi-dev libgl-dev dos2unix git wget
Fedora:
sudo yum install libXmu-devel libXi-devel libGL-devel dos2unix git wget