{"id":60303,"library":"sfml","title":"SFML","description":"Simple and fast multimedia library providing graphics, audio, and windowing.","status":"active","version":"3.0.2","language":"cpp","source_language":null,"source_url":null,"tags":["multimedia","graphics","audio","game-development","windowing"],"install":[{"cmd":"vcpkg install sfml","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(sfml CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE SFML::Graphics)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"SFML/Graphics.hpp","correct":"#include <SFML/Graphics.hpp>"}],"quickstart":{"code":"#include <SFML/Graphics.hpp>\n\nint main() {\n    sf::RenderWindow window(sf::VideoMode(800, 600), \"SFML Window\");\n    while (window.isOpen()) {\n        sf::Event event;\n        while (window.pollEvent(event)) {\n            if (event.type == sf::Event::Closed)\n                window.close();\n        }\n        window.clear();\n        window.display();\n    }\n    return 0;\n}","lang":"cpp","description":"Create and run a basic SFML window"},"warnings":[{"fix":"Install required system packages (e.g., libgl1-mesa-dev, libopenal-dev on Linux).","message":"SFML requires system dependencies (OpenGL, audio libraries) that may not be present on all systems.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'audio':9,14 'develop':17 'fast':4 'game':16 'game-develop':15 'graphic':8,13 'librari':6 'multimedia':5,12 'provid':7 'sfml':1 'simpl':2 'window':11,18","created_at":"2026-06-16T19:24:53.026110+00:00","updated_at":"2026-06-16T19:24:53.026110+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}}