{"id":24302928,"url":"https://github.com/aui-framework/glew-cmake","last_synced_at":"2025-10-18T05:44:34.322Z","repository":{"id":109328852,"uuid":"411514613","full_name":"aui-framework/glew-cmake","owner":"aui-framework","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-02T16:33:49.000Z","size":2824,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T07:20:19.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aui-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-29T03:16:34.000Z","updated_at":"2024-12-16T07:16:42.000Z","dependencies_parsed_at":"2024-12-16T08:22:59.765Z","dependency_job_id":"ede5bbb7-cc92-4655-ad76-541b2341b665","html_url":"https://github.com/aui-framework/glew-cmake","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aui-framework/glew-cmake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui-framework%2Fglew-cmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui-framework%2Fglew-cmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui-framework%2Fglew-cmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui-framework%2Fglew-cmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aui-framework","download_url":"https://codeload.github.com/aui-framework/glew-cmake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui-framework%2Fglew-cmake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000782,"owners_count":26082851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-17T00:33:13.073Z","updated_at":"2025-10-08T22:38:24.008Z","avatar_url":"https://github.com/aui-framework.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLEW - The OpenGL Extension Wrangler Library\n\nThe OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.\n\n![](http://glew.sourceforge.net/glew.png)\n\nhttp://glew.sourceforge.net/\n\nhttps://github.com/nigels-com/glew\n\n[![Build Status](https://travis-ci.org/nigels-com/glew.svg?branch=master)](https://travis-ci.org/nigels-com/glew)\n[![Gitter](https://badges.gitter.im/nigels-com/glew.svg)](https://gitter.im/nigels-com/glew?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n[![Download](https://img.shields.io/sourceforge/dm/glew.svg)](https://sourceforge.net/projects/glew/files/latest/download)\n\n## Table of Contents\n\n* [Downloads](#downloads)\n\t* [Recent snapshots](#recent-snapshots)\n* [Build](#build)\n\t* [Linux and Mac](#linux-and-mac)\n\t\t* [Using GNU Make](#using-gnu-make)\n\t\t* [Install build tools](#install-build-tools)\n\t\t* [Build](#build-1)\n\t\t* [Linux EGL](#linux-egl)\n\t\t* [Linux OSMesa](#linux-osmesa)\n\t\t* [Linux mingw-w64](#linux-mingw-w64)\n\t* [Using cmake](#using-cmake)\n\t\t* [Install build tools](#install-build-tools-1)\n\t\t* [Build](#build-2)\n\t* [Windows](#windows)\n\t\t* [Visual Studio](#visual-studio)\n\t\t* [MSYS/Mingw](#msysmingw)\n\t\t* [MSYS2/Mingw-w64](#msys2mingw-w64)\n* [glewinfo](#glewinfo)\n* [Code Generation](#code-generation)\n* [Authors](#authors)\n* [Contributions](#contributions)\n* [Copyright and Licensing](#copyright-and-licensing)\n\n## Downloads\n\nCurrent release is [2.1.0](https://sourceforge.net/projects/glew/files/glew/2.1.0/).\n[(Change Log)](http://glew.sourceforge.net/log.html)\n\nSources available as\n[ZIP](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.zip/download) or\n[TGZ](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.tgz/download).\n\nWindows binaries for [32-bit and 64-bit](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0-win32.zip/download).\n\n### Recent snapshots\n\nSnapshots may contain new features, bug-fixes or new OpenGL extensions ahead of tested, official releases.\n\n[glew-20200115.tgz](https://sourceforge.net/projects/glew/files/glew/snapshots/glew-20200115.tgz/download) *GLEW 2.2.0 RC3: fixes*\n\n[glew-20190928.tgz](https://sourceforge.net/projects/glew/files/glew/snapshots/glew-20190928.tgz/download) *GLEW 2.2.0 RC2: New extensions, bug fixes*\n\n## Build\n\nIt is highly recommended to build from a tgz or zip release snapshot.\nThe code generation workflow is a complex brew of gnu make, perl and python, that works best on Linux or Mac.\nThe code generation is known to work on Windows using [MSYS2](https://www.msys2.org/).\nFor most end-users of GLEW the official releases are the best choice, with first class support.\n\n### Linux and Mac\n\n#### Using GNU Make\n\nGNU make is the primary build system for GLEW, historically.\nIt includes targets for building the sources and headers, for maintenance purposes.\n\n##### Install build tools\n\nDebian/Ubuntu/Mint:    `$ sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev`\n\nRedHat/CentOS/Fedora:  `$ sudo yum install libXmu-devel libXi-devel libGL-devel`\n\nFreeBSD: `# pkg install xorg lang/gcc git cmake gmake bash python perl5`\n\n##### Build\n\n\t$ make\n\t$ sudo make install\n\t$ make clean\n\nTargets:    `all, glew.lib (sub-targets: glew.lib.shared, glew.lib.static), glew.bin, clean, install, uninstall`\n\nVariables:  `SYSTEM=linux-clang, GLEW_DEST=/usr/local, STRIP=`\n\n_Note: you may need to call `make` in the  **auto** folder first_\n\n##### Linux EGL\n\n\t$ sudo apt install libegl1-mesa-dev\n\t$ make SYSTEM=linux-egl\n\n##### Linux OSMesa\n\n\t$ sudo apt install libosmesa-dev\n\t$ make SYSTEM=linux-osmesa\n\n##### Linux mingw-w64\n\n\t$ sudo apt install mingw-w64\n\t$ make SYSTEM=linux-mingw32\n\t$ make SYSTEM=linux-mingw64\n\n#### Using cmake\n\nThe cmake build is mostly contributer maintained.\nDue to the multitude of use cases this is maintained on a _best effort_ basis.\nPull requests are welcome.\n\n*CMake 2.8.12 or higher is required.*\n\n##### Install build tools\n\nDebian/Ubuntu/Mint:   `$ sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev cmake git`\n\nRedHat/CentOS/Fedora: `$ sudo yum install libXmu-devel libXi-devel libGL-devel cmake git`\n\n##### Build\n\n\t$ cd build\n\t$ cmake ./cmake\n\t$ make -j4\n\n| Target     | Description |\n| ---------- | ----------- |\n| glew       | Build the glew shared library. |\n| glew_s     | Build the glew static library. |\n| glewinfo   | Build the `glewinfo` executable (requires `BUILD_UTILS` to be `ON`). |\n| visualinfo | Build the `visualinfo` executable (requires `BUILD_UTILS` to be `ON`). |\n| install    | Install all enabled targets into `CMAKE_INSTALL_PREFIX`. |\n| clean      | Clean up build artifacts. |\n| all        | Build all enabled targets (default target). |\n\n| Variables       | Description |\n| --------------- | ----------- |\n| BUILD_UTILS     | Build the `glewinfo` and `visualinfo` executables. |\n| GLEW_REGAL      | Build in Regal mode. |\n| GLEW_OSMESA     | Build in off-screen Mesa mode. |\n| BUILD_FRAMEWORK | Build as MacOSX Framework.  Setting `CMAKE_INSTALL_PREFIX` to `/Library/Frameworks` is recommended. |\n\n### Windows\n\n#### Visual Studio\n\nUse the provided Visual Studio project file in build/vc15/\n\nProjects for vc6, vc10, vc12 and vc14 are also provided\n\n#### MSYS/Mingw\n\nAvailable from [Mingw](http://www.mingw.org/)\n\nRequirements: bash, make, gcc\n\n\t$ mingw32-make\n\t$ mingw32-make install\n\t$ mingw32-make install.all\n\nAlternative toolchain:  `SYSTEM=mingw-win32`\n\n#### MSYS2/Mingw-w64\n\nAvailable from [Msys2](http://msys2.github.io/) and/or [Mingw-w64](http://mingw-w64.org/)\n\nRequirements: bash, make, gcc\n\n\t$ pacman -S gcc make mingw-w64-i686-gcc mingw-w64-x86_64-gcc\n\t$ make\n\t$ make install\n\t$ make install.all\n\nAlternative toolchain:  `SYSTEM=msys, SYSTEM=msys-win32, SYSTEM=msys-win64`\n\n## glewinfo\n\n`glewinfo` is a command-line tool useful for inspecting the capabilities of an\nOpenGL implementation and GLEW support for that.  Please include `glewinfo.txt`\nwith bug reports, as appropriate.\n\n\t---------------------------\n\t    GLEW Extension Info\n\t---------------------------\n\n\tGLEW version 2.0.0\n\tReporting capabilities of pixelformat 3\n\tRunning on a Intel(R) HD Graphics 3000 from Intel\n\tOpenGL version 3.1.0 - Build 9.17.10.4229 is supported\n\n\tGL_VERSION_1_1:                                                OK\n\t---------------\n\n\tGL_VERSION_1_2:                                                OK\n\t---------------\n\t  glCopyTexSubImage3D:                                         OK\n\t  glDrawRangeElements:                                         OK\n\t  glTexImage3D:                                                OK\n\t  glTexSubImage3D:                                             OK\n\n\t...\n\n## Code Generation\n\nA Unix or Mac environment is needed for building GLEW from scratch to\ninclude new extensions, or customize the code generation. The extension\ndata is regenerated from the top level source directory with:\n\n\tmake extensions\n\nAn alternative to generating the GLEW sources from scratch is to\ndownload a pre-generated (unsupported) snapshot:\n\nhttps://sourceforge.net/projects/glew/files/glew/snapshots/\n\n## Authors\n\nGLEW is currently maintained by [Nigel Stewart](https://github.com/nigels-com)\nwith bug fixes, new OpenGL extension support and new releases.\n\nGLEW was developed by [Milan Ikits](http://www.cs.utah.edu/~ikits/)\nand [Marcelo Magallon](http://wwwvis.informatik.uni-stuttgart.de/~magallon/).\nAaron Lefohn, Joe Kniss, and Chris Wyman were the first users and also\nassisted with the design and debugging process.\n\nThe acronym GLEW originates from Aaron Lefohn.\nPasi K\u0026auml;rkk\u0026auml;inen identified and fixed several problems with\nGLX and SDL.  Nate Robins created the `wglinfo` utility, to\nwhich modifications were made by Michael Wimmer.\n\n## Contributions\n\nGLEW welcomes community contributions.  Typically these are co-ordinated\nvia [Issues](https://github.com/nigels-com/glew/issues) or\n[Pull Requests](https://github.com/nigels-com/glew/pulls) in the\nGitHub web interface.\n\nBe sure to mention platform and compiler toolchain details when filing\na bug report.  The output of `glewinfo` can be quite useful for discussion\nalso.\n\nGenerally GLEW is usually released once a year, around the time of the Siggraph\ncomputer graphics conference.  If you're not using the current release\nversion of GLEW, be sure to check if the issue or bug is fixed there.\n\n## Copyright and Licensing\n\nGLEW is originally derived from the EXTGL project by Lev Povalahev.\nThe source code is licensed under the\n[Modified BSD License](http://glew.sourceforge.net/glew.txt), the\n[Mesa 3-D License](http://glew.sourceforge.net/mesa.txt) (MIT) and the\n[Khronos License](http://glew.sourceforge.net/khronos.txt) (MIT).\n\nThe automatic code generation scripts are released under the\n[GNU GPL](http://glew.sourceforge.net/gpl.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faui-framework%2Fglew-cmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faui-framework%2Fglew-cmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faui-framework%2Fglew-cmake/lists"}