62 lines
936 B
Markdown
62 lines
936 B
Markdown
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
# Installation
|
|
|
|
## [libstardustxr](https://github.com/StardustXR/libstardustxr) (server, client, and fusion)
|
|
|
|
### Prerequisites
|
|
1. Meson
|
|
2. Ninja
|
|
3. Flatbuffers >= 1.12.0
|
|
|
|
### Download
|
|
```bash
|
|
git clone https://github.com/StardustXR/libstardustxr.git
|
|
cd libstardustxr
|
|
```
|
|
|
|
### Build
|
|
```bash
|
|
meson build --prefix=/usr
|
|
cd build
|
|
ninja
|
|
```
|
|
|
|
### Install
|
|
```bash
|
|
ninja install
|
|
```
|
|
|
|
## [stardust-xr](https://github.com/StardustXR/stardust-xr) (reference server)
|
|
|
|
### Prerequisites
|
|
1. Meson >= 0.55.0
|
|
2. Ninja
|
|
3. CMake
|
|
4. [libstardustxr](#libstardustxr-server-client-and-fusion)
|
|
5. Flatbuffers >= 1.12.0
|
|
6. EGL+GLES 3.2
|
|
7. GLX+Xlib
|
|
8. fontconfig
|
|
9. dlopen
|
|
10. OpenXR Loader (required even if run in flatscreen mode)
|
|
|
|
### Download
|
|
```bash
|
|
git clone https://github.com/StardustXR/stardust-xr.git
|
|
cd stardust-xr
|
|
```
|
|
|
|
### Build
|
|
```bash
|
|
meson build --prefix=/usr
|
|
cd build
|
|
ninja
|
|
```
|
|
|
|
### Install
|
|
```bash
|
|
ninja install
|
|
``` |