vulkano icon indicating copy to clipboard operation
vulkano copied to clipboard

Examples Error

Open ShaunKulesa opened this issue 4 years ago • 4 comments

  • OS: windows
  • GPU (the selected PhysicalDevice): 1660 Ti
  • GPU Driver: Nividia

I was building the examples and i got this error.


error: failed to run custom build command for `shaderc-sys v0.6.3`

Caused by:
  process didn't exit successfully: `D:\Vulkano\vulkano-examples\target\release\build\shaderc-sys-f3377e5c1269840e\build-script-build` (exit code: 101)
  --- stdout
  cargo:warning=System installed library not found.  Falling back to build from source

  --- stderr
  thread 'main' panicked at '

  couldn't find required command: "ninja"

  ', C:\Users\Home\.cargo\registry\src\github.com-1ecc6299db9ec823\shaderc-sys-0.6.3\build\cmd_finder.rs:50:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace```

ShaunKulesa avatar Jan 12 '21 19:01 ShaunKulesa

Are you using the shaderc-build-from-source feature? I think that shouldn't happen without that feature enabled. If it's happening anyway, then that seems like a bug.

Rua avatar Jan 23 '21 10:01 Rua

@Rua I don't know what that is.

ShaunKulesa avatar Jan 23 '21 12:01 ShaunKulesa

The error message tells you exactly what to do: Install ninja and add it to PATH

ARKAD97 avatar Jun 01 '21 00:06 ARKAD97

@ShaunKulesa is this still an issue for you?

Rua avatar Aug 12 '22 12:08 Rua