korejan / ALVR

Stream VR games from your PC to your headset via Wi-Fi
https://alvr-org.github.io/
MIT License
186 stars 27 forks source link

Some errors happens when I try to build ALXR 0.10 from source codes. #53

Closed Hope10086 closed 1 year ago

Hope10086 commented 1 year ago

Description

I tried to build the ALXR 0.10.0 from source codes after reading the ALVR Wikis last weekend. I got apk files named by "alvr_client_oculus_go" and "alvr_client_oculus_quest" .But I'm more concerned about the apk file on the pico neo. The PROBLEMS bar of VScode show "android-ndk-sys only supports compiling for Android" in lib.rs whose path is "C:/Users/My Username/.cargo/registry/src/github.com-1ecc6299db9ec823/ndk-sys-0.4.0/src/lib.rs""

korejan## General Troubleshooting

Environement

VScode 1.72 .2 Rust : rustc 1.64.0 (a55dd71d5 2022-09-19) rustup 1.25.1 (bb60b1e89 2022-07-12) cargo 1.64.0 (387270bc7 2022-09-16) stable-x86_64-pc-windows-gnu unchanged - rustc 1.64.0 (a55dd71d5 2022-09-19) stable-x86_64-pc-windows-msvc unchanged - rustc 1.64.0 (a55dd71d5 2022-09-19) nightly-x86_64-pc-windows-msvc updated - rustc 1.67.0-nightly (77e57db38 2022-10-30) LLVM 14.0.3 Android studio 2021.3 NDK (Side by side) 25.1.8937393 Android SDK 33(Tiramisu) And their environment variables have been set correctly .

I‘m new to the Rust ,and the Project is complicated . I want to know what's wrong with my operations and how to build the pico neo 's apk correctly.

The picture is as following : client: image Thank you ! server: image

korejan commented 1 year ago

Hi, you're following the wrong instructions to make alxr builds, you have built the alvr client, please follow the build instructions here, if you don't need to make changes to the server (and don't need the extra controller emulation profiles) you can just install the release build of v18.2.3 server from the main repository.

Hope10086 commented 1 year ago

Thank you very much ! I haven't seen there two "Build from Source" in Wiki. I'll try it right away