KhronosGroup / OpenXR-SDK-Source

Sources for OpenXR loader, basic API layers, and example code.
https://khronos.org/openxr
Apache License 2.0
637 stars 238 forks source link

Android build instructions out of date #461

Open dabulla opened 4 months ago

dabulla commented 4 months ago
cd src/conformance
./gradlew clean && ./gradlew build

there is no folder conformance.

I found gradle in hello_xr but building it under arch linux currently fails with this exception for me:

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

I try to build OpenXR for Meta Quests.

rpavlik commented 4 months ago

What file has those build instructions? Those are only for the monorepo and OpenXR-CTS.

However, ./gradlew assembleVulkanDebug in src/tests/hello_xr should build a hello_xr APK pre-set to Vulkan. If you're trying to build the loader, you don't need to, it's published to maven central, but the loader on its own may be built with maintainer-scripts/build-aar.sh

rpavlik-bot commented 4 months ago

An issue (number 2230) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2230 ), to facilitate working group processes.

This GitHub issue will continue to be the main site of discussion.

SafariMonkey commented 4 months ago

The offending line seems to be https://github.com/KhronosGroup/OpenXR-SDK-Source/blob/455583cc6ddb463f7433fc0e9bc2a4b9b0c943c6/BUILDING.md#L163