You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm wondering if the Android and Meta Quest demos are compatible with building on Linux (specifically Ubuntu) machines? I got the third-party libraries successfully built but am running into an error that seems to stem from syntax issues when running ./gradlew build (tested on Meta Quest fingerdistance, Meta Quest vrnativeapplication, and Android base demo)
error: cannot initialize a parameter of type 'void **' with an rvalue of type 'JNIEnv **' (aka 'JNIEnv_ **')
103 | androidApp_->activity->vm->AttachCurrentThread(&jniEnv_, nullptr);
Looking directly at the gradlew file, the following snippet seems to indicate that OS-specific support is limited to Windows and MacOS
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
Is this correct? If so, what exactly are the hurdles to compatibility with a Ubuntu Linux build? I only need a very simple bare-bones application so if this is the result of support for more advanced capabilities that there's a way to circumvent that would be great. Thanks!!
The text was updated successfully, but these errors were encountered:
Hi, @laurendiaz. I think Gradle build of the Quest demo should work on Linux, but I'll ask the team when I get the chance. In the meanwhile, could you tell us what flavor and version of Linux you are using? And is there anything unique about the way your system or development/build environment is set up?
"gradlew" is a gradle wrapper script that was generated using Gradle build system. It is there to invoke a Java executable ("gradle/wrapper/gradle-wrapper.jar") which, in turn, may download and cache Gradle build system executables then use them to perform the actual build process. I believe the "OS specific support" snippet you have copied here is there to do some platform-specific things to get 'gradle-wrapper.jar' working correctly for those plaforms. Gradle should work on Linux.
Hi! I'm wondering if the Android and Meta Quest demos are compatible with building on Linux (specifically Ubuntu) machines? I got the third-party libraries successfully built but am running into an error that seems to stem from syntax issues when running
./gradlew build
(tested on Meta Quest fingerdistance, Meta Quest vrnativeapplication, and Android base demo)Looking directly at the
gradlew
file, the following snippet seems to indicate that OS-specific support is limited to Windows and MacOSIs this correct? If so, what exactly are the hurdles to compatibility with a Ubuntu Linux build? I only need a very simple bare-bones application so if this is the result of support for more advanced capabilities that there's a way to circumvent that would be great. Thanks!!
The text was updated successfully, but these errors were encountered: