{"id":13713210,"url":"https://github.com/nigels-com/glew","last_synced_at":"2026-01-24T02:01:16.412Z","repository":{"id":37601952,"uuid":"8870031","full_name":"nigels-com/glew","owner":"nigels-com","description":"The OpenGL Extension Wrangler Library","archived":false,"fork":false,"pushed_at":"2025-12-22T04:09:45.000Z","size":2525,"stargazers_count":2822,"open_issues_count":73,"forks_count":644,"subscribers_count":133,"default_branch":"master","last_synced_at":"2025-12-23T10:00:42.994Z","etag":null,"topics":["c","egl","glew","glewinfo","glx","opengl","visualinfo","wgl"],"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/nigels-com.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":"2013-03-19T03:29:13.000Z","updated_at":"2025-12-22T04:09:50.000Z","dependencies_parsed_at":"2023-10-16T03:43:47.480Z","dependency_job_id":"af2a1fa1-6eec-4689-b3c2-0840eccb19fb","html_url":"https://github.com/nigels-com/glew","commit_stats":{"total_commits":1122,"total_committers":79,"mean_commits":14.20253164556962,"dds":0.6212121212121212,"last_synced_commit":"ef7d12ecb7f1f336f6d3a80cebd6163b2c094108"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/nigels-com/glew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigels-com%2Fglew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigels-com%2Fglew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigels-com%2Fglew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigels-com%2Fglew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nigels-com","download_url":"https://codeload.github.com/nigels-com/glew/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nigels-com%2Fglew/sbom","scorecard":{"id":686636,"data":{"date":"2025-08-11","repo":{"name":"github.com/nigels-com/glew","commit":"8eff6899e8ee071b31453e094d155e3d59c02650"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"15 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":3,"reason":"Found 7/22 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact glew-2.2.0 not signed: https://api.github.com/repos/nigels-com/glew/releases/36187427","Warn: release artifact glew-2.1.0 not signed: https://api.github.com/repos/nigels-com/glew/releases/7227181","Warn: release artifact glew-2.0.0 not signed: https://api.github.com/repos/nigels-com/glew/releases/3725872","Warn: release artifact glew-2.2.0 does not have provenance: https://api.github.com/repos/nigels-com/glew/releases/36187427","Warn: release artifact glew-2.1.0 does not have provenance: https://api.github.com/repos/nigels-com/glew/releases/7227181","Warn: release artifact glew-2.0.0 does not have provenance: https://api.github.com/repos/nigels-com/glew/releases/3725872"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T01:04:45.389Z","repository_id":37601952,"created_at":"2025-08-22T01:04:45.389Z","updated_at":"2025-08-22T01:04:45.389Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28707317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T23:51:44.727Z","status":"online","status_checked_at":"2026-01-24T02:00:06.909Z","response_time":89,"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":["c","egl","glew","glewinfo","glx","opengl","visualinfo","wgl"],"created_at":"2024-08-02T23:01:29.626Z","updated_at":"2026-01-24T02:01:16.399Z","avatar_url":"https://github.com/nigels-com.png","language":"C","funding_links":[],"categories":["Graphic Libraries \u0026 Renderers","libraries"],"sub_categories":["Data Management"],"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)](https://github.com/nigels-com/glew)\n\nhttps://github.com/nigels-com/glew\n\n[![GitHub Stars](https://img.shields.io/github/stars/nigels-com/glew)](https://github.com/nigels-com/glew)\n![Contributors](https://img.shields.io/github/contributors/nigels-com/glew)\n[![Commits since release](https://img.shields.io/github/commits-since/nigels-com/glew/latest)](https://github.com/nigels-com/glew/commits/master/)\n[![Issues](https://img.shields.io/github/issues/nigels-com/glew)](https://github.com/nigels-com/glew/issues)\n[![Pull Requests](https://img.shields.io/github/issues-pr/nigels-com/glew)](https://github.com/nigels-com/glew/pulls)\n\n[![GitHub Downloads](https://img.shields.io/github/downloads/nigels-com/glew/latest/total)](https://github.com/nigels-com/glew/releases)\n[![SourceForge Downloads](https://img.shields.io/sourceforge/dm/glew.svg)](https://sourceforge.net/projects/glew/files/latest/download)\n[![Health](https://codebuild.ap-southeast-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiZ0cxMFNORFBPTGQ5Z1MyRUsxRnU5V1ZyOUNUWmZZRFJwNWdBNng5MnNtdFFObGNsTEJkQkxZa0lHYmtMNEZRREZaZmdvMUh2bDMxVjhFc3c2L29odFQ4PSIsIml2UGFyYW1ldGVyU3BlYyI6InhLVlFqWXVaMEZRVFh6c1QiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D\u0026branch=master)](https://ap-southeast-2.codebuild.aws.amazon.com/project/eyJlbmNyeXB0ZWREYXRhIjoiK3RLWndGOVVkMWthbXRQZCtVTTNOQ0w2dEpxakZ1cVBTNDZ1UldGODdqUERSdkx0U21Nd0RFaGhQL1kycVlmNzh2OXpEYnRKV3hXTVJJdjUvVStCbTl0dkliZm5jRTFsc0VBPSIsIml2UGFyYW1ldGVyU3BlYyI6ImZ0ekRoMkNjaU0rRUt5K2UiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D)\n\n## Table of Contents\n\n* [Downloads](#downloads)\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.3.0](https://github.com/nigels-com/glew/releases/tag/glew-2.3.0).\n[(Change Log)](http://glew.sourceforge.net/log.html)\n\nSources available as\n[ZIP](https://github.com/nigels-com/glew/releases/download/glew-2.3.0/glew-2.3.0.zip) or\n[TGZ](https://github.com/nigels-com/glew/releases/download/glew-2.3.0/glew-2.3.0.tgz).\n\nWindows binaries for [32-bit and 64-bit](https://github.com/nigels-com/glew/releases/download/glew-2.3.0/glew-2.3.0-win32.zip).\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 contributor maintained.\nDue to the multitude of use cases this is maintained on a _best effort_ basis.\nPull requests are welcome.\n\n*CMake 3.16 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%2Fnigels-com%2Fglew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnigels-com%2Fglew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnigels-com%2Fglew/lists"}