2015-10-05 08:25:28 +00:00
|
|
|
# GLEW - The OpenGL Extension Wrangler Library
|
2015-10-05 08:20:39 +00:00
|
|
|
|
2015-10-05 09:43:13 +00:00
|
|
|
![](http://glew.sourceforge.net/glew.png)
|
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
http://glew.sourceforge.net/
|
2015-10-05 08:23:19 +00:00
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
https://github.com/nigels-com/glew
|
2015-10-05 08:20:39 +00:00
|
|
|
|
|
|
|
[![Build Status](https://travis-ci.org/nigels-com/glew.svg?branch=master)](https://travis-ci.org/nigels-com/glew)
|
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
## Build
|
2015-10-05 08:23:19 +00:00
|
|
|
|
2015-10-05 08:20:39 +00:00
|
|
|
If you downloaded the tarball or zip archive from the GLEW website,
|
|
|
|
you just need to:
|
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
### Unix
|
|
|
|
|
2015-10-05 08:23:19 +00:00
|
|
|
* make
|
|
|
|
* sudo -s
|
|
|
|
* make install
|
|
|
|
* make clean
|
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
### Windows
|
|
|
|
|
2015-10-05 08:23:19 +00:00
|
|
|
use the project file in build/vc12/
|
2015-10-05 08:20:39 +00:00
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
## Code Generation
|
2015-10-05 08:20:39 +00:00
|
|
|
|
|
|
|
If you wish to build GLEW from scratch (update the extension data from
|
|
|
|
the net or add your own extension information), you need a Unix
|
|
|
|
environment (including wget, perl, and GNU make). The extension data
|
|
|
|
is regenerated from the top level source directory with:
|
|
|
|
|
2015-10-05 08:28:04 +00:00
|
|
|
make extensions
|
2015-10-05 08:20:39 +00:00
|
|
|
|
|
|
|
An alternative to generating the GLEW sources from scratch is to
|
|
|
|
download a pre-generated (unsupported) snapshot:
|
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
https://sourceforge.net/projects/glew/files/glew/snapshots/
|
2015-10-05 08:20:39 +00:00
|
|
|
|
|
|
|
Travis-built sources are also available:
|
|
|
|
|
2015-10-05 08:25:28 +00:00
|
|
|
https://glew.s3.amazonaws.com/index.html
|