Registry / other / glfw3
library3.3.9vcpkgunverified

GLFW is a multi-platform library for creating windows, contexts, and handling input for OpenGL, OpenGL ES, and Vulkan.

vcpkg install glfw3
INSTALL
IMPORT
SIG · GLFW3
G
glfw3
othercppv3.3.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GLFW/glfw3.h
#include <GLFW/glfw3.h>

Initializes GLFW and creates a window

#include <GLFW/glfw3.h> #include <iostream> int main() { if (!glfwInit()) return -1; GLFWwindow* window = glfwCreateWindow(640, 480, "Hello", NULL, NULL); glfwDestroyWindow(window); glfwTerminate(); return 0; }
Debug
Known issues
gotchaGLFW requires linking with the system's OpenGL library on some platforms.
fix
Use find_package(OpenGL) and link OpenGL::GL.
affects: all
Upgrade
Version history
3.3.9latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

glfw3 — pip install glfw3 · libregistry