I get the following error:
โฏ cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling cc v1.0.3
Compiling quote v0.3.15
Compiling unicode-xid v0.0.4
Compiling tempdir v0.3.5
Compiling syn v0.10.8
Compiling cmake v0.1.28
Compiling glsl-to-spirv v0.1.3
error: failed to run custom build command for `glsl-to-spirv v0.1.3`
process didn't exit successfully: `/home/arian/Documents/UU/MAGR/testit/target/debug/build/glsl-to-spirv-d084539756af8e77/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build/glslangValidator.exe
running: "cmake" "/home/arian/.cargo/registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.3/glslang" "-DCMAKE_INSTALL_PREFIX=/home/arian/Documents/UU/MAGR/testit/target/debug/build/glsl-to-spirv-c942c32e229466fb/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug"
--- stderr
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
thread 'main' panicked at '
failed to execute command: Permission denied (os error 13)
build script failed, must exit now', /home/arian/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.28/src/lib.rs:631:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
I had to install cmake
Most helpful comment
I had to install
cmake