{"id":27940581,"url":"https://github.com/khronosgroup/openxr-sdk","last_synced_at":"2025-11-13T22:38:28.519Z","repository":{"id":37470828,"uuid":"199315656","full_name":"KhronosGroup/OpenXR-SDK","owner":"KhronosGroup","description":"Generated headers and sources for OpenXR loader.","archived":false,"fork":false,"pushed_at":"2025-04-08T19:59:06.000Z","size":6731,"stargazers_count":957,"open_issues_count":1,"forks_count":173,"subscribers_count":61,"default_branch":"main","last_synced_at":"2025-05-14T21:06:08.026Z","etag":null,"topics":["augmented-reality","openxr","openxr-loader","virtual-reality","vr"],"latest_commit_sha":null,"homepage":"https://khronos.org/openxr","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KhronosGroup.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.SDK.md","contributing":null,"funding":null,"license":"COPYING.adoc","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-28T17:11:34.000Z","updated_at":"2025-05-14T03:52:28.000Z","dependencies_parsed_at":"2025-02-05T19:33:23.732Z","dependency_job_id":"24ff2e3f-7db5-475e-be6d-87813429dee8","html_url":"https://github.com/KhronosGroup/OpenXR-SDK","commit_stats":{"total_commits":211,"total_committers":15,"mean_commits":"14.066666666666666","dds":0.3364928909952607,"last_synced_commit":"58a00cf85c39ad5ec4dc43a769624e420c06179a"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FOpenXR-SDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FOpenXR-SDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FOpenXR-SDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FOpenXR-SDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KhronosGroup","download_url":"https://codeload.github.com/KhronosGroup/OpenXR-SDK/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227611,"owners_count":22035669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["augmented-reality","openxr","openxr-loader","virtual-reality","vr"],"created_at":"2025-05-07T10:18:38.413Z","updated_at":"2025-11-13T22:38:28.512Z","avatar_url":"https://github.com/KhronosGroup.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenXR™ Software Development Kit (SDK) Project\n\n\u003c!--\nCopyright (c) 2017-2025 The Khronos Group Inc.\n\nSPDX-License-Identifier: CC-BY-4.0\n--\u003e\n\nThis repository contains OpenXR headers, as well as source code and build scripts\nfor the OpenXR loader.\nIt contains all generated source files and headers pre-generated for minimum dependencies.\n\nThe authoritative public repository for this project is located at\n\u003chttps://github.com/KhronosGroup/OpenXR-SDK\u003e.\n\nThe public repository containing the scripts that generate the files in this repository\nis located at\n\u003chttps://github.com/KhronosGroup/OpenXR-SDK-Source\u003e.\nIt hosts the public Issue tracker, and accepts patches (Pull Requests) from the\ngeneral public.\nThat repository is also where sample code (hello_xr) and API layer source can be found.\n\n**Note that this repo is effectively read-only: changes to this repo should be made in the [OpenXR-SDK-Source](https://github.com/KhronosGroup/OpenXR-SDK-Source) repo instead**\n\n## Directory Structure\n\n\u003c!-- REUSE-IgnoreStart --\u003e\n- `BUILDING.md` - Instructions for building the projects\n- `README.md` - This file\n- `COPYING.md` - Copyright and licensing information\n- `CODE_OF_CONDUCT.md` - Code of Conduct\n- `external/` - External code for projects in the repo\n- `include/` - OpenXR header files\n- `src/external/jsoncpp` - The jsoncpp project source code, an included dependency of the loader.\n- `src/loader` - OpenXR loader code, **including generated code**\n\u003c!-- REUSE-IgnoreEnd --\u003e\n\n## Building\n\nThe project is set up to build using CMake.\n\n### (Optional) Building the OpenXR Loader as a DLL\n\nBy default, the OpenXR loader is built as a static library on Windows and a dynamic library on other platforms.\nTo specify alternate behavior, define the CMake option `DYNAMIC_LOADER`,\ne.g. by adding `-DDYNAMIC_LOADER=ON` or `-DDYNAMIC_LOADER=OFF` to your CMake command line.\n\n### Windows\n\nBuilding the OpenXR components in this tree on Windows is supported using\nVisual Studio 2013 and newer.  Before beginning, make sure the appropriate\n\"msbuild.exe\" is in your PATH.  Also, when generating the solutions/projects\nusing CMake, be sure to use the correct compiler version number.  The\nfollowing table is provided to help you:\n\n| Visual Studio        | Version Number |\n| -------------------- |:--------------:|\n| Visual Studio 2017   |       15       |\n| Visual Studio 2019   |       16       |\n| Visual Studio 2022   |       17       |\n\nSpecific sample command lines for building follow.\nIf you're already familiar with the process of building a project with\nCMake, you may skim or skip these instructions.\n\n#### Windows 64-bit\n\nFirst, generate the 64-bit solution and project files using CMake:\n\n```cmd\nmkdir build\\win64\ncd build\\win64\ncmake -G \"Visual Studio [Version Number] Win64\" ..\\..\n```\n\nFinally, open the `build\\win64\\OPENXR.sln` in the Visual Studio to build the loader.\n\n#### Windows 32-bit\n\nFirst, generate the 32-bit solution and project files using CMake:\n\n```cmd\nmkdir build\\win32\ncd build\\win32\ncmake -G \"Visual Studio [Version Number]\" ..\\..\n```\n\nOpen the `build\\win32\\OPENXR.sln` in the Visual Studio to build the loader.\n\n### Linux\n\nThe following set of Debian/Ubuntu packages provides all required libs for building for xlib or xcb with OpenGL and Vulkan support.\n\n- `build-essential`\n- `cmake` (of _somewhat_ recent vintage, 3.10+ known working)\n- `libgl1-mesa-dev`\n- `libvulkan-dev`\n- `libx11-xcb-dev`\n- `libxcb-dri2-0-dev`\n- `libxcb-glx0-dev`\n- `libxcb-icccm4-dev`\n- `libxcb-keysyms1-dev`\n- `libxcb-randr0-dev`\n- `libxrandr-dev`\n- `libxxf86vm-dev`\n- `mesa-common-dev`\n\nSpecific sample command lines for building follow.\nIf you're already familiar with the process of building a project with\nCMake, you may skim or skip these instructions.\n\n#### Linux Debug\n\n```sh\nmkdir -p build/linux_debug\ncd build/linux_debug\ncmake -DCMAKE_BUILD_TYPE=Debug ../..\nmake\n```\n\n#### Linux Release\n\n```sh\nmkdir -p build/linux_release\ncd build/linux_release\ncmake -DCMAKE_BUILD_TYPE=Release ../..\nmake\n```\n\n### macOS\n\nBuilding the OpenXR components in this tree on macOS is supported using Xcode\n14.0 and newer. You may need to install Xcode Command Line Tools and cmake.\n\nFirst, generate the Xcode project file using CMake:\n\n```cmd\nmkdir -p build/macos\ncd build/macos\ncmake -G \"Xcode\" ../..\n```\n\nFinally, open the build/macos/OPENXR.xcodeproj in Xcode to build the samples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhronosgroup%2Fopenxr-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhronosgroup%2Fopenxr-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhronosgroup%2Fopenxr-sdk/lists"}