Introduction to Glad

The Glad package contains a generator for loading Vulkan, OpenGL, EGL, GLES, and GLX contexts.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

Glad Dependencies

Optional (required to run the tests)

pytest-8.0.0, rustc-1.76.0, Xorg Libraries, glfw, and WINE

Installation of Glad

Install Glad by running the following commands:

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD

This package comes with a test suite, but it cannot be run without installing the external dependencies listed above.

Now, as the root user:

pip3 install --no-index --find-links=dist --no-cache-dir --no-user glad2


Installed Programs: glad
Installed Libraries: None
Installed Directories: /usr/lib/python3.12/site-packages/glad and /usr/lib/python3.12/site-packages/glad2-2.0.5.dist-info

Short Descriptions


generates loaders for Vulkan, OpenGL, EGL, GLES, and GLX contexts