Latest Release: 1.10.0

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

Last Update: 07-22-13

# 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

`SYSTEM` | auto | 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

`all` | Build everything.
`glew.lib` | Build static and dynamic GLEW libraries.
`glew.lib.mx` | Build static and dynamic GLEWmx libraries.
`glew.bin` | Build `glewinfo` and `visualinfo` utilities.
`clean` | Delete temporary and built files.
`install.all` | Install everything.
`install` | Install GLEW libraries.
`install.mx` | Install GLEWmx libraries.
`install.bin` | Install `glewinfo` and `visualinfo` utilities.
`uninstall` | Delete installed files.

#### Requirements

- GNU make
- perl
- wget
- GNU sed
- gcc compiler

Ubuntu:

    sudo apt-get install Xmu-dev Xi-Dev