From 1272a9c8ffde2e3ec2b04e0481fbe36a15e104fa Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sun, 15 Dec 2024 12:17:45 -0800 Subject: [PATCH] Describe where libs/arm64-v8a comes from --- openxr/examples/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openxr/examples/README.md b/openxr/examples/README.md index f3001f6a..d93b1866 100644 --- a/openxr/examples/README.md +++ b/openxr/examples/README.md @@ -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