Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe where libs/arm64-v8a comes from #182

Merged
merged 1 commit into from
Dec 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions openxr/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ Display a head-locked gradient spanning both eyes. Controllers position is repor

## `vulkan-android`

Same as `vulkan` but it can run on Android, specifically on the Oculus Quest and Quest 2. It shares the same source file.
Same as `vulkan` but it can run on Android, specifically on the Oculus Quest and Quest 2. It shares the same source file.

* Install [cargo-apk](https://crates.io/crates/cargo-apk)
* Get `libopenxr_loader.so` from the Oculus OpenXR Mobile SDK and add it to `openxr/examples/libs/arm64-v8a`
* Download Android SDK version 30, set `$ANDROID_HOME` to its path
* Download Android NDK version 23, set `$ANDROID_NDK_ROOT` to its path
* Copy `arm64-v8a` folder from "${ANDROID_NDK_ROOT}/sources/cxx-stl/llvm-libc++/libs/" into "openxr/examples/libs/"
* Get `libopenxr_loader.so` from the Oculus OpenXR Mobile SDK and add it to "openxr/examples/libs/arm64-v8a"
* Run:

```sh
Expand Down
Loading