Git Product home page Git Product logo

quest-xr's Introduction

Hi there ๐Ÿ‘‹

quest-xr's People

Contributors

artyomd avatar cyborgdennett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

quest-xr's Issues

fatal error: 'frag.spv' file not found when trying to build

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:

  • Execute ./gradlew assembleDebug from the terminal
  • Click the run button above

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.