{"id":60221,"library":"glfw3","title":"GLFW","description":"GLFW is a multi-platform library for creating windows, contexts, and handling input for OpenGL, OpenGL ES, and Vulkan.","status":"active","version":"3.3.9","language":"cpp","source_language":null,"source_url":null,"tags":["opengl","vulkan","windowing","input","graphics"],"install":[{"cmd":"vcpkg install glfw3","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(glfw3 CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE glfw)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"GLFW/glfw3.h","correct":"#include <GLFW/glfw3.h>"}],"quickstart":{"code":"#include <GLFW/glfw3.h>\n#include <iostream>\n\nint main() {\n    if (!glfwInit()) return -1;\n    GLFWwindow* window = glfwCreateWindow(640, 480, \"Hello\", NULL, NULL);\n    glfwDestroyWindow(window);\n    glfwTerminate();\n    return 0;\n}","lang":"cpp","description":"Initializes GLFW and creates a window"},"warnings":[{"fix":"Use find_package(OpenGL) and link OpenGL::GL.","message":"GLFW requires linking with the system's OpenGL library on some platforms.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'context':12 'creat':10 'es':19 'glfw':1,2 'graphic':26 'handl':14 'input':15,25 'librari':8 'multi':6 'multi-platform':5 'opengl':17,18,22 'platform':7 'vulkan':21,23 'window':11,24","created_at":"2026-06-16T19:21:25.472024+00:00","updated_at":"2026-06-16T19:21:25.472024+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}