OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

glfw-3.4p2

open source, multi-platform library for creating windows

Back to search · Project homepage

Description

GLFW is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events. It is easy to integrate into existing applications and does not lay claim to the main loop. GLFW is written in C and has native support for Windows, OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD. Features: * Gives you a window and OpenGL context with just two function calls * Support for OpenGL 3.2+ with profiles and flags, OpenGL ES, MSAA, sRGB and robustness * Support for multiple windows, multiple monitors, high-DPI, gamma ramps and clipboard * Support for keyboard, mouse, gamepad, time and window event input, via polling or callbacks * Access to native objects and compile-time options for platform specific features

Package information

Ports path
graphics/glfw
Package architecture
amd64
Maintainer
Kurt Mosiejczuk <kmos@openbsd.org>
Categories
graphics, x11
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Build

Used by (6 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON