artyomd / quest-xr Goto Github PK
View Code? Open in Web Editor NEWOpenXR application demo targeted to oculus quest 2 platform
License: Apache License 2.0
OpenXR application demo targeted to oculus quest 2 platform
License: Apache License 2.0
Hi!
First of all, thanks a lot to share an open-xr demo project to use on Meta Quest 2, I've been trying to create one myself but I've not been able to.
Your project seems to gradle sync correctly when I open it with Android Studio, but when I try to either:
I get the following error:
Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.
com.android.ide.common.process.ProcessException: ninja: Entering directory `<my_path_to_your_project>\Quest-XR\app.cxx\Debug\r4y10b23\arm64-v8a'
[1/4] Generating ../../../../../../cpp/shaders/spv/frag.spv, ../../../../../../cpp/shaders/spv/.hex/frag.spv, ../../../../../../cpp/shaders/spv/vert.spv, ../../../../../../cpp/shaders/spv/.hex/vert.spv
[2/4] Building CXX object cpp/shaders/CMakeFiles/shaders.dir/shaders.cpp.o
FAILED: cpp/shaders/CMakeFiles/shaders.dir/shaders.cpp.o
<my_path_to_AppData>\AppData\Local\Android\Sdk\ndk\25.1.8937393\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android29 --sysroot=<my_path_to_AppData>/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I <my_path_to_your_project>/Quest-XR/app/cpp/shaders/spv/.hex -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -g -fno-limit-debug-info -fPIC -std=gnu++20 -MD -MT cpp/shaders/CMakeFiles/shaders.dir/shaders.cpp.o -MF cpp\shaders\CMakeFiles\shaders.dir\shaders.cpp.o.d -o cpp/shaders/CMakeFiles/shaders.dir/shaders.cpp.o -c <my_path_to_your_project>/Quest-XR/app/cpp/shaders/shaders.cpp
<my_path_to_your_project>/Quest-XR/app/cpp/shaders/shaders.cpp:12:10: fatal error: 'frag.spv' file not found
#include SHADER(frag)
^~~~~~~~~~~~
<my_path_to_your_project>/Quest-XR/app/cpp/shaders/shaders.cpp:7:25: note: expanded from macro 'SHADER'
#define SHADER(name) STRINGIFY(name.spv)
^~~~~~~~~~~~~~~~~~~~~
<my_path_to_your_project>/Quest-XR/app/cpp/shaders/shaders.cpp:6:27: note: expanded from macro 'STRINGIFY'
#define STRINGIFY(name) #name
^~~~~~~
:266:1: note: expanded from here
"frag.spv"
^~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
I've tried to copy the file frag.spv from https://github.com/KhronosGroup/OpenXR-SDK-Source/tree/main/src/tests/hello_xr/vulkan_shaders, but then it prints me another error.
Do you know what could be happening here?
Thanks again!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.