|sn0w 48ed33bb20 update gitignore||2 weeks ago|
|auto||2 weeks ago|
|build||2 weeks ago|
|config||2 weeks ago|
|doc||2 weeks ago|
|include/GL||2 weeks ago|
|src||2 weeks ago|
|.gitignore||2 weeks ago|
|LICENSE.txt||2 weeks ago|
|Makefile||2 weeks ago|
|README.md||2 weeks ago|
|glew.pc.in||2 weeks ago|
Windows binaries for 32-bit and 64-bit.
Snapshots may contain new features, bug-fixes or new OpenGL extensions ahead of tested, official releases.
It is highly recommended to build from a tgz or zip release snapshot. The code generation workflow is a complex brew of gnu make, perl and python, that works best on Linux or Mac. For most end-users of GLEW the official releases are the best choice, with first class support.
$ sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libosmesa-dev
$ sudo yum install libXmu-devel libXi-devel libGL-devel
$ make $ sudo make install $ make clean
all, glew.lib (sub-targets: glew.lib.shared, glew.lib.static), glew.bin, clean, install, uninstall
SYSTEM=linux-clang, GLEW_DEST=/usr/local, STRIP=
Note: may need to make auto folder
CMake 2.8.12 or higher is required.
$ sudo apt-get install build-essential libXmu-dev libXi-dev libgl-dev cmake
$ sudo yum install libXmu-devel libXi-devel libGL-devel cmake
$ cd build $ cmake ./cmake $ make -j4
|glew||Build the glew shared library.|
|glew_s||Build the glew static library.|
|install||Install all enabled targets into
|clean||Clean up build artifacts.|
|all||Build all enabled targets (default target).|
|GLEW_REGAL||Build in Regal mode.|
|GLEW_OSMESA||Build in off-screen Mesa mode.|
|BUILD_FRAMEWORK||Build as MacOSX Framework. Setting
Use the provided Visual Studio project file in build/vc12/
Projects for vc6 and vc10 are also provided
Available from Mingw
Requirements: bash, make, gcc
$ mingw32-make $ mingw32-make install $ mingw32-make install.all
Requirements: bash, make, gcc
$ pacman -S gcc make mingw-w64-i686-gcc mingw-w64-x86_64-gcc $ make $ make install $ make install.all
SYSTEM=msys, SYSTEM=msys-win32, SYSTEM=msys-win64
glewinfo is a command-line tool useful for inspecting the capabilities of an
OpenGL implementation and GLEW support for that. Please include
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 126.96.36.19929 is supported GL_VERSION_1_1: OK --------------- GL_VERSION_1_2: OK --------------- glCopyTexSubImage3D: OK glDrawRangeElements: OK glTexImage3D: OK glTexSubImage3D: OK ...
A Unix or Mac environment is needed 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:
An alternative to generating the GLEW sources from scratch is to download a pre-generated (unsupported) snapshot:
Travis-built snapshots are also available:
GLEW is currently maintained by Nigel Stewart with bug fixes, new OpenGL extension support and new releases.
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.
The automatic code generation scripts are released under the GNU GPL.