-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake build command failed - alvr_binding.h: No such file or directory #2
Comments
on my machine the folder |
The I tried to run the whole build inside a container in podman following (https://github.com/alvr-org/ALVR/wiki/Building-From-Source#streamer-building). I manage to build up to 84%, but still getting header not found issue.
The header can be found under: My setup:# in host
sudo pacman -S nvidia-container-toolkit
sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
mkdir repos
podman run -it --device nvidia.com/gpu=all -v ./repos:/home/repos --workdir=/home archlinux bash # in container
pacman -Syu --dbonly mesa --noconfirm
pacman -Syu git less rustup make patch cbindgen cmake eigen llvm-libs libedit --noconfirm
pacman -Syu clang curl nasm pkgconf yasm vulkan-headers libva-mesa-driver unzip ffmpeg libpipewire --noconfirm
cd /home/repos
git clone -b monado https://github.com/alvr-org/ALVR.git alvr-monado
git clone https://github.com/The-personified-devil/alvr_render.git alvr_render
git clone https://github.com/alvr-org/Monado-ALVR.git
cd /home/repos/alvr-monado
rustup default stable
# # Optional?
pacman -Syu cuda --noconfirm
export PATH="/opt/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/opt/cuda/lib64"
# # OK to fail at CUDA stage apparently?
RUST_BACKTRACE=1 cargo xtask prepare-deps --platform linux
RUST_BACKTRACE=1 cargo xtask build-server-lib
cd /home/repos/Monado-ALVR
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/home/repos/.local
cmake --build . |
I appreciate the enthusiasm, but as it stands this is pre-alpha and thus heavily relies on hacks to just make it work on my system, including symlinks and has no thorough build process. Once it's far enough I'll create some ci to automatically make builds for testing purposes. |
Issue
cmake --build .
command failed -alvr_binding.h: No such file or directory
Steps taken
Folders:
alvr-monado
monado
7955f8bd06cc2b8070f6a1dad64cbc05c77c7a51
alvr_render
master
c1a07dfeb4d6bccc68ff5bb0fbdd8cbb75a62936
Monado-ALVR
main
Error message
Command history:
Distribution
6.12.1-arch1-1
cmake version 3.31.1
python 3.12.7
The text was updated successfully, but these errors were encountered: