Tree [281e38] master /
 History



File Date Author Commit
 auto 4 days ago Nigel Stewart Nigel Stewart [281e38] PYTHON make variable for using python2, optionally
 build 2016-01-08 Nigel Stewart Nigel Stewart [9297c6] For cmake 3.4 - link X11 libs for glewinfo and ...
 config 2016-01-23 Nigel Stewart Nigel Stewart [c3ea36] Add SYSTEM=Linux-clang-egl config
 doc 4 days ago Nigel Stewart Nigel Stewart [a7ea1d] Documentation refresh
 src 2016-01-20 Nigel Stewart Nigel Stewart [43a929] Initial EGL core and extension support with Pyt...
 .gitattributes 2016-01-20 Nigel Stewart Nigel Stewart [43a929] Initial EGL core and extension support with Pyt...
 .gitignore 2016-01-08 Nigel Stewart Nigel Stewart [581191] Update .gitignore for cmake generated .rc files...
 .travis.yml 2016-01-23 Nigel Stewart Nigel Stewart [97bba6] Add GLEW_EGL builds to Travis
 LICENSE.txt 2009-10-07 nigels nigels [29a8f3] Set eol-style to native for misc headers and te...
 Makefile 5 days ago Nigel Stewart Nigel Stewart [c45763] Add make toolchains for msys, msys-win32 and ms...
 README.md 5 days ago Nigel Stewart Nigel Stewart [c45763] Add make toolchains for msys, msys-win32 and ms...
 TODO.txt 2007-03-21 ikits ikits [386f64] updated todo list
 cmake-testbuild.sh 2015-07-12 Tamas Kenez Tamas Kenez [67b12e] build: cmake-testbuild to work on OS X and with...
 glew.pc.in 2015-01-24 Nigel Stewart Nigel Stewart [e37f67] Sourceforge Bug 263 - Fixed include path for pk...

Read Me

GLEW - The OpenGL Extension Wrangler Library

http://glew.sourceforge.net/

https://github.com/nigels-com/glew

Build Status
Gitter

Downloads

Current release is 1.13.0.
(Change Log)

Sources available as
ZIP or
TGZ.

Windows binaries for 32-bit and 64-bit.

Recent snapshots

Snapshots may contain new features, bug-fixes or new OpenGL extensions ahead of tested, official releases.

glew-20160131.tgz
GLEW 2.0.0 release candidate: Core context support, MX discontinued

glew-20151117.tgz

glew-20150805.tgz

Build

From a downloaded tarball or zip archive:

Linux and Mac

Using GNU Make

Install build tools

Debian/Ubuntu/Mint: $ sudo apt-get install build-essential libXmu-dev libXi-dev libgl-dev git

RedHat/CentOS/Fedora: $ sudo yum install libXmu-devel libXi-devel libGL-devel git

Build
$ make
$ sudo make install
$ make clean

Targets: all, glew.lib, glew.bin, clean, install, uninstall

Variables: SYSTEM=linux-clang, GLEW_DEST=/usr/local, STRIP=

Using cmake

CMake 2.8.12 or higher is required.

Install build tools

Debian/Ubuntu/Mint: $ sudo apt-get install build-essential libXmu-dev libXi-dev libgl-dev git cmake

RedHat/CentOS/Fedora: $ sudo yum install libXmu-devel libXi-devel libGL-devel git cmake

Build
$ cd build
$ cmake ./cmake 
$ make -j4

Windows

Visual Studio

Use the provided Visual Studio project file in build/vc12/

Projects for vc6 and vc10 are also provided

MSYS/Mingw

Available from Mingw

Requirements: bash, make, gcc

$ mingw32-make
$ mingw32-make install
$ mingw32-make install.all

Alternative toolchain: SYSTEM=mingw-win32

MSYS2/Mingw-w64

Available from Msys2 and/or Mingw-w64

Requirements: bash, make, gcc

$ pacman -S gcc make  mingw-w64-i686-gcc mingw-w64-x86_64-gcc 
$ make
$ make install
$ make install.all

Alternative toolchain: SYSTEM=msys, SYSTEM=msys-win32, SYSTEM=msys-win64

glewinfo

glewinfo is a command-line tool useful for inspecting the capabilities of an
OpenGL implementation and GLEW support for that. Please include the output of
glewinfo with bug reports, as appropriate.

---------------------------
    GLEW Extension Info
---------------------------

GLEW version 2.0.0
Reporting capabilities of pixelformat 3
Running on a Intel(R) HD Graphics 3000 from Intel
OpenGL version 3.1.0 - Build 9.17.10.4229 is supported

GL_VERSION_1_1:                                                OK
---------------

GL_VERSION_1_2:                                                OK
---------------
  glCopyTexSubImage3D:                                         OK
  glDrawRangeElements:                                         OK
  glTexImage3D:                                                OK
  glTexSubImage3D:                                             OK

...

Code Generation

A Unix or Mac environment is neded for building GLEW from scratch to
include new extensions, or customize the code generation. The extension
data is regenerated from the top level source directory with:

make extensions

An alternative to generating the GLEW sources from scratch is to
download a pre-generated (unsupported) snapshot:

https://sourceforge.net/projects/glew/files/glew/snapshots/

Travis-built snapshots are also available:

https://glew.s3.amazonaws.com/index.html

Authors

GLEW is currently maintained by Nigel Stewart
with bug fixes, new OpenGL extension support and new releases.

GLEW was developed by Milan Ikits
and Marcelo Magallon.
Aaron Lefohn, Joe Kniss, and Chris Wyman were the first users and also
assisted with the design and debugging process.

The acronym GLEW originates from Aaron Lefohn.
Pasi Kärkkäinen identified and fixed several problems with
GLX and SDL. Nate Robins created the wglinfo utility, to
which modifications were made by Michael Wimmer.

GLEW is originally derived from the EXTGL project by Lev Povalahev.
The source code is licensed under the
Modified BSD License, the
Mesa 3-D License (MIT) and the
Khronos License (MIT).

The automatic code generation scripts are released under the
GNU GPL.