Giter Club home page Giter Club logo

Comments (9)

amwatson avatar amwatson commented on July 24, 2024 1

At, interesting. I just added it last night, so let me make sure it's publicly accessible. Sorry about that!

Let me look into this. Two other people have been able to build so far, which isn't a huge sample size. Thanks for your patience!

from citravr.

amwatson avatar amwatson commented on July 24, 2024

Huh, I haven't seen that issue -- for reference, I normally see this:
citravr_build_variants

  1. What Android Studio version are you running?
  2. Is this the only error?
  3. Is your Android Studio project root CitraVR/src/android, or CitraVR/src/android/app?

from citravr.

chengnay avatar chengnay commented on July 24, 2024
  1. image
  2. It did not compile successfully, I am not sure is there other error.
  3. image

Just curious, can I clone the project by using "git clone --recursive https://github.com/amwatson/CitraVR.git" instead?
When I clone the project by "git clone --recursive [email protected]:amwatson/CitraVR.git", there is error.
image

from citravr.

amwatson avatar amwatson commented on July 24, 2024

Oh, I understand now. Sorry, when I first read your last response, I thought you were talking about the OpenXR submodule.

Answer: Yes, you can clone via https instead of ssh. Cloning via ssh requires your public key, whereas the https method does not.

from citravr.

chengnay avatar chengnay commented on July 24, 2024

Hi @amwatson,
How could I resolve the issue for not seeing anything in Build Variants and couldn't compile successfully?

from citravr.

amwatson avatar amwatson commented on July 24, 2024

Hey, want to try again? Ive talked to five other devs, and they've been able to build.

I'm currently using Android Studio Hedgehog, if you want to try that

from citravr.

chengnay avatar chengnay commented on July 24, 2024

Just curious how long it takes to compile the project?
After I open the project, it shows
"android: Build model..."
Download info

Then it just stuck here for hours.
image
image
Is this normal? Looks like taking forever to finish.

For the Gradle JDK, can I use the one come with android studio?
The folder path is android-studio-2023.1.1.28\jbr.

Maybe there is some problem with my environment setup?

from citravr.

chengnay avatar chengnay commented on July 24, 2024

Not sure if others also met the same issue.
I found out that whenever it got stuck, I will need to close Android Studio, reboot PC(due to some process is not released) then open project again. After several tries, it seems to move on to compile.

image
How do I resolve above error? Do I need to install Python 3?

After the above error, I click on rebuild and I end up with below error.
`cmd.exe /C "cd . && C:\Users\chengnan_yang\Documents\Tools\android-sdk\ndk\26.1.10909125\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi21 --sysroot=C:/Users/chengnan_yang/Documents/Tools/android-sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -flto=thin -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -fuse-ld=gold CMakeFiles/boo.dir/main.cpp.o -o boo libfoo.a -latomic -lm && cd ."

clang++: error: invalid linker name in argument '-fuse-ld=gold'`

from citravr.

chengnay avatar chengnay commented on July 24, 2024

Could you list the versions of the plugins that you are using?
For examples, SDK platform and NDK.

from citravr.

Related Issues (20)

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.