amethyst/rendy

Building issues

trsh opened this issue · 1 comments

trsh commented
   Compiling rendy-chain v0.5.1
error: failed to run custom build command for `shaderc-sys v0.6.1`

Caused by:
  process didn't exit successfully: `C:\Projects\rust\vox\target\debug\build\shaderc-sys-6835a68c603b9aa9\build-script-build` (exit code: 101)
--- stdout
cargo:warning=System installed library not found.  Falling back to build from source
running: "cmake" "C:\\Users\\trsh\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\shaderc-sys-0.6.1\\build" "-G" "Ninja" "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" "-DSPIRV_SKIP_EXECUTABLES=ON" "-DSPIRV_WERROR=OFF" "-DSHADERC_SKIP_TESTS=ON" "-DCMAKE_C_FLAGS= /nologo /EHsc /MD" "-DCMAKE_CXX_FLAGS= /nologo /EHsc /MD" "-DCMAKE_C_FLAGS_RELEASE= /nologo /EHsc /MD" "-DCMAKE_CXX_FLAGS_RELEASE= /nologo /EHsc /MD" "-DSHADERC_ENABLE_SHARED_CRT=ON" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_PREFIX=C:\\Projects\\rust\\vox\\target\\debug\\build\\shaderc-sys-41811779083a748a\\out" "-DCMAKE_C_COMPILER=D:/Software/VS/VC/Tools/MSVC/14.24.28314/bin/HostX64/x86/cl.exe" "-DCMAKE_CXX_COMPILER=D:/Software/VS/VC/Tools/MSVC/14.24.28314/bin/HostX64/x86/cl.exe" "-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is MSVC 19.24.28314.0
-- The CXX compiler identification is MSVC 19.24.28314.0
-- Check for working C compiler: D:/Software/VS/VC/Tools/MSVC/14.24.28314/bin/HostX64/x86/cl.exe
-- Check for working C compiler: D:/Software/VS/VC/Tools/MSVC/14.24.28314/bin/HostX64/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: D:/Software/VS/VC/Tools/MSVC/14.24.28314/bin/HostX64/x86/cl.exe
-- Check for working CXX compiler: D:/Software/VS/VC/Tools/MSVC/14.24.28314/bin/HostX64/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building SPIRV-Header examples
-- SPIRV-Tools: nosetests was not found - python support code will not be tested
-- Using Release VC++ CRT: MD
-- Google Mock was not found - tests based on that will not build
-- optimizer enabled
-- Shaderc: build type is "Release".
-- Configuring Shaderc to avoid building tests.
-- nosetests was not found - python code will not be tested
-- asciidoctor was not found - no documentation will be generated
-- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING
-- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Projects/rust/vox/target/debug/build/shaderc-sys-41811779083a748a/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--" "-j4"
[1/372] Generate extended instruction tables for spv-amd-shader-explicit-vertex-parameter.
FAILED: spirv-tools/spv-amd-shader-explicit-vertex-parameter.insts.inc
cmd.exe /C "cd /D C:\Projects\rust\vox\target\debug\build\shaderc-sys-41811779083a748a\out\build\spirv-tools\source && C:\Python27\python.exe C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/utils/generate_grammar_tables.py --extinst-vendor-grammar=C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/source/extinst.spv-amd-shader-explicit-vertex-parameter.grammar.json --vendor-insts-output=C:/Projects/rust/vox/target/debug/build/shaderc-sys-41811779083a748a/out/build/spirv-tools/spv-amd-shader-explicit-vertex-parameter.insts.inc"
The system cannot find the path specified.
[2/372] Generate language specific header for DebugInfo.
FAILED: spirv-tools/DebugInfo.h
cmd.exe /C "cd /D C:\Projects\rust\vox\target\debug\build\shaderc-sys-41811779083a748a\out\build\spirv-tools\source && C:\Python27\python.exe C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/utils/generate_language_headers.py --extinst-name=DebugInfo --extinst-grammar=C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/source/extinst.debuginfo.grammar.json --extinst-output-base=C:/Projects/rust/vox/target/debug/build/shaderc-sys-41811779083a748a/out/build/spirv-tools/DebugInfo"
The system cannot find the path specified.
[3/372] Generate extended instruction tables for spv-amd-shader-trinary-minmax.
FAILED: spirv-tools/spv-amd-shader-trinary-minmax.insts.inc
cmd.exe /C "cd /D C:\Projects\rust\vox\target\debug\build\shaderc-sys-41811779083a748a\out\build\spirv-tools\source && C:\Python27\python.exe C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/utils/generate_grammar_tables.py --extinst-vendor-grammar=C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/source/extinst.spv-amd-shader-trinary-minmax.grammar.json --vendor-insts-output=C:/Projects/rust/vox/target/debug/build/shaderc-sys-41811779083a748a/out/build/spirv-tools/spv-amd-shader-trinary-minmax.insts.inc"
The system cannot find the path specified.
[4/372] Generate extended instruction tables for debuginfo.
FAILED: spirv-tools/debuginfo.insts.inc
cmd.exe /C "cd /D C:\Projects\rust\vox\target\debug\build\shaderc-sys-41811779083a748a\out\build\spirv-tools\source && C:\Python27\python.exe C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/utils/generate_grammar_tables.py --extinst-vendor-grammar=C:/Users/trsh/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-sys-0.6.1/build/spirv-tools/source/extinst.debuginfo.grammar.json --vendor-insts-output=C:/Projects/rust/vox/target/debug/build/shaderc-sys-41811779083a748a/out/build/spirv-tools/debuginfo.insts.inc"
The system cannot find the path specified.
ninja: build stopped: subcommand failed.

--- stderr
CMake Warning (dev) at CMakeLists.txt:8 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

thread 'main' panicked at '
command did not execute successfully, got: exit code: 1

build script failed, must exit now', C:\Users\trsh\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.42\src\lib.rs:861:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
trsh commented

Somhave it installed on second run o_O