GLEW(https://github.com/nigels-com/glew, source updated nightly) with Cmake and pre-generated sources
Go to file
2016-01-31 13:57:29 +10:00
auto Fix regression with aliased extension detection, in second pass of make_list 2016-01-08 20:48:29 +10:00
build For cmake 3.4 - link X11 libs for glewinfo and visualinfo unless not available, or GLEW_OSMESA mode. 2016-01-08 23:25:46 +10:00
config Disable stack protector for Linux builds, to avoid runtime dependency 2016-01-07 22:07:00 +10:00
doc Remove MX support due to the complexity of supporting both MX and Core contexts 2015-12-06 12:49:24 +10:00
src OSMesaMakeCurrent for glewCreateContext in GLEW_OSMESA mode. 2015-10-12 20:31:51 +10:00
.gitattributes cmake: install config-module 2015-06-22 14:06:50 +02:00
.gitignore Update .gitignore for cmake generated .rc files in build/ 2016-01-08 22:58:42 +10:00
.travis.yml Re-enable Travis build for Core Context mode 2015-12-06 12:49:26 +10:00
cmake-testbuild.sh build: cmake-testbuild to work on OS X and with CMake < 3.0 2015-07-12 23:12:36 +02:00
glew.pc.in Sourceforge Bug 263 - Fixed include path for pkg-config 2015-01-24 17:03:51 +10:00
LICENSE.txt Set eol-style to native for misc headers and text files 2009-10-07 15:36:15 +00:00
Makefile Remove MX support due to the complexity of supporting both MX and Core contexts 2015-12-06 12:49:24 +10:00
README.md Migrating more website information to README.md 2016-01-31 13:57:29 +10:00
TODO.txt updated todo list 2007-03-21 23:36:26 +00:00

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-20150805.tgz

glew-20150124.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

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

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