[root@DESKTOP-25DEJGP xchplot2]# cargo install --path .
Installing xchplot2 v0.7.3 (/root/xchplot2)
Compiling xchplot2 v0.7.3 (/root/xchplot2)
warning: xchplot2@0.7.3: xchplot2: building for CUDA arch 120 (nvidia-smi probe)
warning: xchplot2@0.7.3: xchplot2: ACPP_TARGETS=generic (NVIDIA detected — using SSCP)
warning: xchplot2@0.7.3: xchplot2: XCHPLOT2_BUILD_CUDA=ON (NVIDIA GPU detected)
error: failed to run custom build command for xchplot2 v0.7.3 (/root/xchplot2)
Caused by:
process didn't exit successfully: /root/xchplot2/target/release/build/xchplot2-aa09a1a61ccb4c5f/build-script-build (exit status: 101)
--- stdout
cargo:warning=xchplot2: building for CUDA arch 120 (nvidia-smi probe)
cargo:warning=xchplot2: ACPP_TARGETS=generic (NVIDIA detected — using SSCP)
cargo:warning=xchplot2: XCHPLOT2_BUILD_CUDA=ON (NVIDIA GPU detected)
--- stderr
thread 'main' (2543) panicked at build.rs:565:9:
xchplot2: build prerequisites missing:
- nvcc (CUDA Toolkit 12+) — XCHPLOT2_BUILD_CUDA=ON requested but no nvcc on PATH
Two ways forward, pick whichever fits:
- Install those packages on the host:
./scripts/install-deps.sh --gpu nvidia # auto-detects vendor + AdaptiveCpp
- Or build inside a container (no host toolchain needed beyond
podman or docker — install whichever you prefer first):
./scripts/build-container.sh
If install-deps.sh just ran and you're still seeing this, check
its tail output — it names the failed package before exiting.
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: failed to compile xchplot2 v0.7.3 (/root/xchplot2), intermediate artifacts can be found at /root/xchplot2/target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_BUILD_BUILD_DIR to that path.
[root@DESKTOP-25DEJGP xchplot2]# ./scripts/install-deps.sh --gpu nvidia
[install-deps] distro=arch, gpu=nvidia, acpp=v25.10.0, prefix=/opt/adaptivecpp
./scripts/install-deps.sh: line 135: sudo: command not found
[root@DESKTOP-25DEJGP xchplot2]#
[root@DESKTOP-25DEJGP xchplot2]# cargo install --path .
Installing xchplot2 v0.7.3 (/root/xchplot2)
Compiling xchplot2 v0.7.3 (/root/xchplot2)
warning: xchplot2@0.7.3: xchplot2: building for CUDA arch 120 (nvidia-smi probe)
warning: xchplot2@0.7.3: xchplot2: ACPP_TARGETS=generic (NVIDIA detected — using SSCP)
warning: xchplot2@0.7.3: xchplot2: XCHPLOT2_BUILD_CUDA=ON (NVIDIA GPU detected)
error: failed to run custom build command for
xchplot2 v0.7.3 (/root/xchplot2)Caused by:
process didn't exit successfully:
/root/xchplot2/target/release/build/xchplot2-aa09a1a61ccb4c5f/build-script-build(exit status: 101)--- stdout
cargo:warning=xchplot2: building for CUDA arch 120 (nvidia-smi probe)
cargo:warning=xchplot2: ACPP_TARGETS=generic (NVIDIA detected — using SSCP)
cargo:warning=xchplot2: XCHPLOT2_BUILD_CUDA=ON (NVIDIA GPU detected)
--- stderr
thread 'main' (2543) panicked at build.rs:565:9:
xchplot2: build prerequisites missing:
- nvcc (CUDA Toolkit 12+) — XCHPLOT2_BUILD_CUDA=ON requested but no nvcc on PATH
Two ways forward, pick whichever fits:
If install-deps.sh just ran and you're still seeing this, check
its tail output — it names the failed package before exiting.
note: run with
RUST_BACKTRACE=1environment variable to display a backtraceerror: failed to compile
xchplot2 v0.7.3 (/root/xchplot2), intermediate artifacts can be found at/root/xchplot2/target.To reuse those artifacts with a future compilation, set the environment variable
CARGO_BUILD_BUILD_DIRto that path.[root@DESKTOP-25DEJGP xchplot2]# ./scripts/install-deps.sh --gpu nvidia
[install-deps] distro=arch, gpu=nvidia, acpp=v25.10.0, prefix=/opt/adaptivecpp
./scripts/install-deps.sh: line 135: sudo: command not found
[root@DESKTOP-25DEJGP xchplot2]#