Skip to content
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

vulkano-examples triangle failed to build when a parent directory contains spaces #1124

Closed
PsionicAlch opened this issue Nov 28, 2018 · 8 comments

Comments

@PsionicAlch
Copy link

  • Version of vulkano: 0.11
  • OS: Linux Ubuntu
  • GPU (the selected PhysicalDevice): Intel HD graphics

Issue

I tried to run the triangle example but it keeps failing to build. I have rustc 1.30.1 (1433507eb 2018-11-07) and rustup 1.14.0 (1e51b07cc 2018-10-04) installed. The error:

Updating crates.io index

Compiling cc v1.0.25
Compiling semver-parser v0.7.0
Compiling libc v0.2.44
Compiling rand_core v0.3.0
Compiling void v1.0.2
Compiling nix v0.11.0
Compiling xml-rs v0.8.0
Compiling num-traits v0.2.6
Compiling cfg-if v0.1.6
Compiling stable_deref_trait v1.1.1
Compiling bitflags v1.0.4
Compiling proc-macro2 v0.4.24
Compiling lazy_static v1.2.0
Compiling nodrop v0.1.13
Compiling unicode-xid v0.1.0
Compiling scopeguard v0.3.3
Compiling byteorder v1.2.7
Compiling memoffset v0.2.1
Compiling downcast-rs v1.0.3
Compiling rayon-core v1.4.1
Compiling num-integer v0.1.39
Compiling same-file v1.0.4
Compiling pkg-config v0.3.14
Compiling xdg v2.2.0
Compiling num-derive v0.2.3
Compiling num-iter v0.1.37
Compiling rayon v1.0.3
Compiling num-rational v0.2.1
Compiling either v1.5.0
Compiling vulkano v0.11.1
Compiling adler32 v1.0.3
Compiling half v1.3.0
Compiling percent-encoding v1.0.1
Compiling vk-sys v0.4.0
Compiling color_quant v1.0.1
Compiling fnv v1.0.6
Compiling lzw v0.10.0
Compiling cgmath v0.16.1
Compiling approx v0.1.1
Compiling scoped_threadpool v0.1.9
Compiling rand_core v0.2.2
Compiling unreachable v1.0.0
Compiling semver v0.9.0
Compiling crossbeam-utils v0.2.2
Compiling crossbeam-utils v0.6.1
Compiling log v0.4.6
Compiling libloading v0.5.0
Compiling cmake v0.1.35
Compiling owning_ref v0.4.0
Compiling wayland-scanner v0.21.6
Compiling arrayvec v0.4.8
Compiling walkdir v2.2.7
Compiling stb_truetype v0.2.4
Compiling x11-dl v2.18.3
Compiling inflate v0.4.3
Compiling deflate v0.7.19
Compiling gif v0.10.1
Compiling smallvec v0.6.6
Compiling lock_api v0.1.5
Compiling rustc_version v0.2.3
Compiling shaderc v0.3.12
Compiling crossbeam-epoch v0.3.1
Compiling crossbeam-epoch v0.6.1
Compiling wayland-client v0.21.6
Compiling wayland-protocols v0.21.6
Compiling rand v0.5.5
Compiling num_cpus v1.8.0
Compiling memmap v0.6.2
Compiling shared_library v0.1.9
Compiling rand v0.4.3
Compiling time v0.1.40
Compiling parking_lot_core v0.3.1
Compiling crossbeam-deque v0.2.0
Compiling ordered-float v1.0.1
Compiling approx v0.3.0
Compiling line_drawing v0.7.0
Compiling num-traits v0.1.43
Compiling crossbeam-deque v0.6.2
Compiling quote v0.6.10
Compiling dlib v0.4.1
Compiling rusttype v0.7.3
Compiling syn v0.15.22
Compiling wayland-sys v0.21.6
Compiling andrew v0.1.4
Compiling png v0.12.0
Compiling wayland-commons v0.21.6
error: failed to run custom build command for shaderc v0.3.12
process didn't exit successfully: /home/wolfman13/Game Dev/Rust/Source Code/vulkano-examples-master/target/debug/build/shaderc-ea45bfffeba0ea57/build-script-build (exit code: 101)
--- stdout
running: "cmake" "/home/wolfman13/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-0.3.12/build" "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" "-DSPIRV_SKIP_EXECUTABLES=ON" "-DSPIRV_WERROR=OFF" "-DSHADERC_SKIP_TESTS=ON" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_PREFIX=/home/wolfman13/Game Dev/Rust/Source Code/vulkano-examples-master/target/debug/build/shaderc-a58b5531f6733dbc/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=Release"
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SPIRV-Tools: nosetests was not found - python support code will not be tested
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wolfman13/Game Dev/Rust/Source Code/vulkano-examples-master/target/debug/build/shaderc-a58b5531f6733dbc/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--"
Scanning dependencies of target SPIRV-Headers-example-1.1
[ 1%] Building CXX object spirv-headers/example/CMakeFiles/SPIRV-Headers-example-1.1.dir/example-1.1.cpp.o
[ 1%] Linking CXX static library libSPIRV-Headers-example-1.1.a
[ 1%] Built target SPIRV-Headers-example-1.1
Scanning dependencies of target SPIRV-Headers-example
[ 1%] Building CXX object spirv-headers/example/CMakeFiles/SPIRV-Headers-example.dir/example.cpp.o
[ 1%] Linking CXX static library libSPIRV-Headers-example.a
[ 1%] Built target SPIRV-Headers-example
Scanning dependencies of target spirv-tools-shared-pkg-config
[ 1%] Built target spirv-tools-shared-pkg-config
Scanning dependencies of target spirv-tools-pkg-config
[ 1%] Built target spirv-tools-pkg-config
[ 1%] Update build-version.inc in the SPIRV-Tools build directory (if necessary).
[ 1%] Generate enum-string mapping for SPIR-V vunified1.
[ 1%] Generate info tables for OpenCL extended instructions and operands vunified1.
[ 2%] Generate info tables for GLSL extended instructions and operands vunified1.
[ 2%] Generate extended instruction tables for spv-amd-shader-explicit-vertex-parameter.
[ 2%] Generate extended instruction tables for spv-amd-shader-trinary-minmax.
[ 3%] Generate extended instruction tables for spv-amd-gcn-shader.
[ 3%] Generate extended instruction tables for spv-amd-shader-ballot.
[ 3%] Generate extended instruction tables for debuginfo.
[ 3%] Generate language specific header for DebugInfo.
[ 4%] Generate info tables for SPIR-V vunified1 core instructions and operands.
[ 4%] Generate tables based on the SPIR-V XML registry.
[ 4%] Generate info tables for SPIR-V vunified1 core instructions and operands.
[ 4%] Generate tables based on the SPIR-V XML registry.
Scanning dependencies of target HLSL
[ 4%] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/hlslAttributes.cpp.o
Scanning dependencies of target SPIRV-Tools
[ 5%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/util/bit_vector.cpp.o
Scanning dependencies of target SPIRV-Tools-shared
[ 6%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/util/bit_vector.cpp.o
[ 6%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/util/parse_number.cpp.o
[ 6%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/util/parse_number.cpp.o
[ 6%] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/hlslParseHelper.cpp.o
[ 6%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/util/string_utils.cpp.o
[ 6%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/util/string_utils.cpp.o
[ 7%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/assembly_grammar.cpp.o
[ 8%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/assembly_grammar.cpp.o
[ 8%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/binary.cpp.o
[ 8%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/binary.cpp.o
[ 8%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/diagnostic.cpp.o
[ 8%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/diagnostic.cpp.o
[ 8%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/disassemble.cpp.o
[ 8%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/disassemble.cpp.o
[ 9%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/enum_string_mapping.cpp.o
[ 9%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/ext_inst.cpp.o
[ 9%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/extensions.cpp.o
[ 10%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/id_descriptor.cpp.o
[ 11%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/enum_string_mapping.cpp.o
[ 11%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/libspirv.cpp.o
[ 11%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/ext_inst.cpp.o
[ 11%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/name_mapper.cpp.o
[ 12%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/opcode.cpp.o
[ 12%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/extensions.cpp.o
[ 12%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/operand.cpp.o
[ 13%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/id_descriptor.cpp.o
[ 13%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/parsed_operand.cpp.o
[ 13%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/libspirv.cpp.o
[ 13%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/print.cpp.o
[ 14%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/software_version.cpp.o
[ 14%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_endian.cpp.o
[ 14%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_optimizer_options.cpp.o
[ 14%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/name_mapper.cpp.o
[ 15%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_target_env.cpp.o
[ 15%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_validator_options.cpp.o
[ 15%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/table.cpp.o
[ 15%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/opcode.cpp.o
[ 15%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/text.cpp.o
[ 16%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/operand.cpp.o
[ 16%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/parsed_operand.cpp.o
[ 16%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/print.cpp.o
[ 17%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/software_version.cpp.o
[ 17%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/spirv_endian.cpp.o
[ 17%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/spirv_optimizer_options.cpp.o
[ 18%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/spirv_target_env.cpp.o
[ 18%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/spirv_validator_options.cpp.o
[ 18%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/table.cpp.o
[ 18%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/text.cpp.o
[ 19%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/text_handler.cpp.o
[ 20%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/text_handler.cpp.o
[ 20%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate.cpp.o
[ 20%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_adjacency.cpp.o
[ 20%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate.cpp.o
[ 21%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_annotation.cpp.o
[ 21%] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/hlslScanContext.cpp.o
[ 21%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_adjacency.cpp.o
[ 22%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_arithmetics.cpp.o
[ 22%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_annotation.cpp.o
[ 22%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_arithmetics.cpp.o
[ 22%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_atomics.cpp.o
[ 22%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_atomics.cpp.o
[ 23%] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/hlslOpMap.cpp.o
[ 24%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_barriers.cpp.o
[ 24%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_barriers.cpp.o
[ 24%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_bitwise.cpp.o
[ 24%] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/hlslTokenStream.cpp.o
[ 24%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_builtins.cpp.o
[ 25%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_bitwise.cpp.o
[ 25%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_capability.cpp.o
[ 25%] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/hlslGrammar.cpp.o
[ 25%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_builtins.cpp.o
[ 26%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_cfg.cpp.o
[ 26%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_composites.cpp.o
[ 27%] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/hlslParseables.cpp.o
[ 27%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_capability.cpp.o
[ 27%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_constants.cpp.o
[ 28%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_conversion.cpp.o
[ 29%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_cfg.cpp.o
Scanning dependencies of target OSDependent
[ 30%] Building CXX object glslang/glslang/OSDependent/Unix/CMakeFiles/OSDependent.dir/ossource.cpp.o
[ 30%] Linking CXX static library libOSDependent.a
[ 30%] Built target OSDependent
Scanning dependencies of target OGLCompiler
[ 30%] Building CXX object glslang/OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.o
[ 30%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_datarules.cpp.o
[ 30%] Linking CXX static library libOGLCompiler.a
[ 30%] Built target OGLCompiler
Scanning dependencies of target glslang-default-resource-limits
[ 30%] Building CXX object glslang/StandAlone/CMakeFiles/glslang-default-resource-limits.dir/ResourceLimits.cpp.o
[ 30%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_debug.cpp.o
[ 30%] Linking CXX static library libglslang-default-resource-limits.a
[ 30%] Built target glslang-default-resource-limits
[ 30%] Linking CXX static library libHLSL.a
Scanning dependencies of target SPVRemapper
[ 31%] Building CXX object glslang/SPIRV/CMakeFiles/SPVRemapper.dir/SPVRemapper.cpp.o
[ 31%] Built target HLSL
Scanning dependencies of target check-copyright
[ 31%] Check copyright
[ 31%] Built target check-copyright
Scanning dependencies of target build-version
[ 32%] Update build-version.inc in the Shaderc build directory (if necessary).
[ 32%] Built target build-version
Scanning dependencies of target glslang
[ 32%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/glslang_tab.cpp.o
[ 32%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_decorations.cpp.o
[ 32%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_composites.cpp.o
[ 32%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_constants.cpp.o
[ 34%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_derivatives.cpp.o
[ 34%] Building CXX object glslang/SPIRV/CMakeFiles/SPVRemapper.dir/doc.cpp.o
[ 34%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_ext_inst.cpp.o
[ 34%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_conversion.cpp.o
[ 34%] Linking CXX static library libSPVRemapper.a
[ 35%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_datarules.cpp.o
[ 35%] Built target SPVRemapper
[ 36%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/attribute.cpp.o
[ 36%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_debug.cpp.o
[ 36%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_execution_limitations.cpp.o
[ 36%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/Constant.cpp.o
[ 37%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_function.cpp.o
[ 37%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_decorations.cpp.o
[ 37%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_id.cpp.o
[ 37%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_image.cpp.o
[ 38%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_interfaces.cpp.o
[ 39%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_derivatives.cpp.o
[ 39%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/iomapper.cpp.o
[ 39%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_ext_inst.cpp.o
[ 39%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_instruction.cpp.o
[ 39%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_layout.cpp.o
[ 39%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_literals.cpp.o
[ 40%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_logicals.cpp.o
[ 40%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_memory.cpp.o
[ 40%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/InfoSink.cpp.o
[ 40%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_execution_limitations.cpp.o
[ 41%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/Initialize.cpp.o
[ 41%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_mode_setting.cpp.o
[ 42%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_function.cpp.o
[ 43%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_non_uniform.cpp.o
[ 43%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_primitives.cpp.o
[ 43%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_id.cpp.o
[ 43%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_type.cpp.o
[ 43%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/basic_block.cpp.o
[ 43%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/IntermTraverse.cpp.o
[ 44%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/construct.cpp.o
[ 44%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_image.cpp.o
[ 44%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/function.cpp.o
[ 44%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/instruction.cpp.o
[ 44%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/Intermediate.cpp.o
[ 45%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validation_state.cpp.o
[ 45%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_interfaces.cpp.o
[ 45%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/util/timer.cpp.o
[ 46%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_instruction.cpp.o
[ 46%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_layout.cpp.o
[ 46%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_literals.cpp.o
[ 47%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_logicals.cpp.o
[ 47%] Linking CXX shared library libSPIRV-Tools-shared.so
[ 50%] Built target SPIRV-Tools-shared
[ 50%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_memory.cpp.o
[ 51%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/ParseContextBase.cpp.o
[ 51%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_mode_setting.cpp.o
[ 51%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_non_uniform.cpp.o
[ 52%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_primitives.cpp.o
[ 52%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validate_type.cpp.o
[ 52%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/basic_block.cpp.o
[ 53%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/construct.cpp.o
[ 53%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/function.cpp.o
[ 53%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/ParseHelper.cpp.o
[ 53%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/instruction.cpp.o
[ 54%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validation_state.cpp.o
[ 54%] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/util/timer.cpp.o
[ 54%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/PoolAlloc.cpp.o
[ 54%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/RemoveTree.cpp.o
[ 55%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/Scan.cpp.o
[ 55%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/ShaderLang.cpp.o
[ 55%] Linking CXX static library libSPIRV-Tools.a
[ 55%] Built target SPIRV-Tools
Scanning dependencies of target SPIRV-Tools-opt
[ 55%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/aggressive_dead_code_elim_pass.cpp.o
[ 55%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/SymbolTable.cpp.o
[ 56%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/Versions.cpp.o
[ 56%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/intermOut.cpp.o
[ 56%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/limits.cpp.o
[ 57%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/linkValidate.cpp.o
[ 57%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/basic_block.cpp.o
[ 57%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/parseConst.cpp.o
[ 57%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/reflection.cpp.o
[ 57%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/preprocessor/Pp.cpp.o
[ 58%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/preprocessor/PpAtom.cpp.o
[ 58%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/preprocessor/PpContext.cpp.o
[ 59%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/block_merge_pass.cpp.o
[ 59%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/preprocessor/PpScanner.cpp.o
[ 59%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/build_module.cpp.o
[ 60%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/preprocessor/PpTokens.cpp.o
[ 60%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/MachineIndependent/propagateNoContraction.cpp.o
[ 60%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/GenericCodeGen/CodeGen.cpp.o
[ 60%] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/GenericCodeGen/Link.cpp.o
[ 60%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o
[ 60%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/cfg_cleanup_pass.cpp.o
[ 61%] Linking CXX static library libglslang.a
[ 61%] Built target glslang
[ 62%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/cfg.cpp.o
[ 62%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/combine_access_chains.cpp.o
[ 62%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/common_uniform_elim_pass.cpp.o
[ 63%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/compact_ids_pass.cpp.o
[ 63%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/composite.cpp.o
[ 63%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/const_folding_rules.cpp.o
[ 64%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/constants.cpp.o
[ 64%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/copy_prop_arrays.cpp.o
[ 64%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dead_branch_elim_pass.cpp.o
[ 64%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dead_insert_elim_pass.cpp.o
[ 65%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dead_variable_elimination.cpp.o
[ 65%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/decoration_manager.cpp.o
[ 65%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/def_use_manager.cpp.o
[ 67%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dominator_analysis.cpp.o
[ 67%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/dominator_tree.cpp.o
[ 67%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/eliminate_dead_constant_pass.cpp.o
[ 67%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/eliminate_dead_functions_pass.cpp.o
[ 68%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/feature_manager.cpp.o
[ 68%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/flatten_decoration_pass.cpp.o
[ 68%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/fold.cpp.o
[ 69%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/folding_rules.cpp.o
[ 69%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/fold_spec_constant_op_and_composite_pass.cpp.o
[ 69%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/freeze_spec_constant_value_pass.cpp.o
[ 70%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/function.cpp.o
[ 70%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/if_conversion.cpp.o
[ 70%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/inline_exhaustive_pass.cpp.o
[ 70%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/inline_opaque_pass.cpp.o
[ 71%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/inline_pass.cpp.o
[ 71%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/inst_bindless_check_pass.cpp.o
[ 71%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/instruction.cpp.o
[ 72%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/instruction_list.cpp.o
[ 72%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/instrument_pass.cpp.o
[ 72%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ir_context.cpp.o
[ 72%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ir_loader.cpp.o
[ 73%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/licm_pass.cpp.o
[ 73%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/local_access_chain_convert_pass.cpp.o
[ 73%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/local_redundancy_elimination.cpp.o
[ 74%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/local_single_block_elim_pass.cpp.o
[ 74%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/local_single_store_elim_pass.cpp.o
[ 74%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/local_ssa_elim_pass.cpp.o
[ 74%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_dependence.cpp.o
[ 75%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_dependence_helpers.cpp.o
[ 75%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_descriptor.cpp.o
[ 75%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_fission.cpp.o
[ 76%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_fusion.cpp.o
[ 76%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_fusion_pass.cpp.o
[ 76%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_peeling.cpp.o
[ 77%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_utils.cpp.o
[ 77%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_unroller.cpp.o
[ 77%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/loop_unswitch_pass.cpp.o
[ 77%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/mem_pass.cpp.o
[ 78%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/merge_return_pass.cpp.o
[ 78%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/module.cpp.o
[ 78%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/optimizer.cpp.o
[ 79%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/pass.cpp.o
[ 79%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/pass_manager.cpp.o
[ 79%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/private_to_local_pass.cpp.o
[ 79%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/propagator.cpp.o
[ 80%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/reduce_load_size.cpp.o
[ 80%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/redundancy_elimination.cpp.o
[ 80%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/register_pressure.cpp.o
[ 81%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/remove_duplicates_pass.cpp.o
[ 81%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/replace_invalid_opc.cpp.o
[ 81%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/scalar_analysis.cpp.o
[ 82%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/scalar_analysis_simplification.cpp.o
[ 82%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/scalar_replacement_pass.cpp.o
[ 82%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/set_spec_constant_default_value_pass.cpp.o
[ 82%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/simplification_pass.cpp.o
[ 83%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ssa_rewrite_pass.cpp.o
[ 83%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/strength_reduction_pass.cpp.o
[ 83%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/strip_debug_info_pass.cpp.o
[ 84%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/strip_reflect_info_pass.cpp.o
[ 84%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/struct_cfg_analysis.cpp.o
[ 84%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/type_manager.cpp.o
[ 84%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/types.cpp.o
[ 85%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/unify_const_pass.cpp.o
[ 85%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/value_number_table.cpp.o
[ 85%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/vector_dce.cpp.o
[ 86%] Building CXX object spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/workaround1209.cpp.o
[ 86%] Linking CXX static library libSPIRV-Tools-opt.a
[ 86%] Built target SPIRV-Tools-opt
Scanning dependencies of target SPIRV-Tools-link
[ 86%] Building CXX object spirv-tools/source/link/CMakeFiles/SPIRV-Tools-link.dir/linker.cpp.o
Scanning dependencies of target SPIRV
[ 86%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/GlslangToSpv.cpp.o
[ 87%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/InReadableOrder.cpp.o
[ 87%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/Logger.cpp.o
[ 87%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvBuilder.cpp.o
[ 87%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvPostProcess.cpp.o
[ 88%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/doc.cpp.o
[ 89%] Linking CXX static library libSPIRV-Tools-link.a
[ 89%] Built target SPIRV-Tools-link
[ 89%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvTools.cpp.o
[ 89%] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/disassemble.cpp.o
[ 90%] Linking CXX static library libSPIRV.a
[ 90%] Built target SPIRV
Scanning dependencies of target glslangValidator
[ 91%] Building CXX object glslang/StandAlone/CMakeFiles/glslangValidator.dir/StandAlone.cpp.o
Scanning dependencies of target spirv-remap
[ 92%] Building CXX object glslang/StandAlone/CMakeFiles/spirv-remap.dir/spirv-remap.cpp.o
Scanning dependencies of target shaderc_util
[ 92%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o
[ 92%] Linking CXX executable spirv-remap
[ 92%] Built target spirv-remap
[ 92%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/file_finder.cc.o
[ 93%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/io.cc.o
[ 93%] Linking CXX executable glslangValidator
[ 93%] Built target glslangValidator
[ 93%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/message.cc.o
[ 93%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/resources.cc.o
[ 93%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/shader_stage.cc.o
[ 94%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o
[ 94%] Building CXX object shaderc/libshaderc_util/CMakeFiles/shaderc_util.dir/src/version_profile.cc.o
[ 94%] Linking CXX static library libshaderc_util.a
[ 94%] Built target shaderc_util
Scanning dependencies of target shaderc
[ 94%] Building CXX object shaderc/libshaderc/CMakeFiles/shaderc.dir/src/shaderc.cc.o
Scanning dependencies of target shaderc_shared
[ 94%] Building CXX object shaderc/libshaderc/CMakeFiles/shaderc_shared.dir/src/shaderc.cc.o
[ 94%] Linking CXX static library libshaderc.a
[ 94%] Built target shaderc
Scanning dependencies of target shaderc_combined_genfile
[ 94%] Generating libshaderc_combined.a
Syntax error in archive script, line 1
[ 95%] Linking CXX shared library libshaderc_shared.so
[ 95%] Built target shaderc_shared

--- stderr
/home/wolfman13/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-0.3.12/build/glslang/glslang/MachineIndependent/intermOut.cpp: In function ‘void glslang::OutputDouble(TInfoSink&, double, glslang::TOutputTraverser::EExtraOutput)’:
/home/wolfman13/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-0.3.12/build/glslang/glslang/MachineIndependent/intermOut.cpp:1152:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
long long b = reinterpret_cast<long long>(&value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ar: /home/wolfman13/Game: No such file or directory
make[2]: *** [shaderc/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/build.make:69: shaderc/libshaderc/libshaderc_combined.a] Error 9
make[1]: *** [CMakeFiles/Makefile2:2984: shaderc/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:130: all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2

build script failed, must exit now', /home/wolfman13/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.35/src/lib.rs:778:5
note: Run with RUST_BACKTRACE=1 for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

@rukai
Copy link
Member

rukai commented Nov 28, 2018

Thanks for reporting this issue.

We use shaderc-rs crate to compile shaders. The problem is shaderc-rs fails to build in a directory that has a parent directory with spaces in the name, in your case /home/wolfman13/Game Dev/Rust/Source Code/vulkano-examples-master.
There is already an issue filed for shaderc-rs google/shaderc-rs#30 however this issue can be used to track the issue for vulkano.

@PsionicAlch
Copy link
Author

I moved the vulkano-exmaples-master directory to the desktop, it is still having issues:

Compiling shaderc v0.3.12
Compiling tiff v0.2.1
Compiling crossbeam-channel v0.3.2
Compiling wayland-protocols v0.21.6
error: failed to run custom build command for shaderc v0.3.12
process didn't exit successfully: /home/wolfman13/Desktop/vulkano-examples-master/target/debug/build/shaderc-ea45bfffeba0ea57/build-script-build (exit code: 101)
--- stdout
running: "cmake" "/home/wolfman13/.cargo/registry/src/github.com-1ecc6299db9ec823/shaderc-0.3.12/build" "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" "-DSPIRV_SKIP_EXECUTABLES=ON" "-DSPIRV_WERROR=OFF" "-DSHADERC_SKIP_TESTS=ON" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_PREFIX=/home/wolfman13/Desktop/vulkano-examples-master/target/debug/build/shaderc-a58b5531f6733dbc/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=Release"
-- SPIRV-Tools: nosetests was not found - python support code will not be tested
-- 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
-- Configuring incomplete, errors occurred!
See also "/home/wolfman13/Desktop/vulkano-examples-master/target/debug/build/shaderc-a58b5531f6733dbc/out/build/CMakeFiles/CMakeOutput.log".
See also "/home/wolfman13/Desktop/vulkano-examples-master/target/debug/build/shaderc-a58b5531f6733dbc/out/build/CMakeFiles/CMakeError.log".

--- stderr
CMake Error: The current CMakeCache.txt directory /home/wolfman13/Desktop/vulkano-examples-master/target/debug/build/shaderc-a58b5531f6733dbc/out/build/CMakeCache.txt is different than the directory /home/wolfman13/Game Dev/Rust/Source Code/vulkano-examples-master/target/debug/build/shaderc-a58b5531f6733dbc/out/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1

build script failed, must exit now', /home/wolfman13/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.35/src/lib.rs:778:5
note: Run with RUST_BACKTRACE=1 for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

@rukai
Copy link
Member

rukai commented Nov 28, 2018

Delete your target folder and try again.

@PsionicAlch
Copy link
Author

Thank you finally got it to work:
screenshot from 2018-11-29 09-01-36

@PsionicAlch PsionicAlch changed the title vulkano-examples triangle failed to build [SOLVED]vulkano-examples triangle failed to build Nov 29, 2018
@rukai rukai changed the title [SOLVED]vulkano-examples triangle failed to build vulkano-examples triangle failed to build when a parent directory contains spaces Dec 1, 2018
@CCCCC7
Copy link

CCCCC7 commented Nov 27, 2021

Thanks for reporting this issue.

We use shaderc-rs crate to compile shaders. The problem is shaderc-rs fails to build in a directory that has a parent directory with spaces in the name, in your case /home/wolfman13/Game Dev/Rust/Source Code/vulkano-examples-master. There is already an issue filed for shaderc-rs google/shaderc-rs#30 however this issue can be used to track the issue for vulkano.

So why is it not fuckin fixed?

@CCCCC7
Copy link

CCCCC7 commented Nov 27, 2021

Also, kind of deleted the target folder......and still have the same shit....

@Jaffa-Cakes
Copy link

We really living in 2022 and still having this issue.

@Rua
Copy link
Contributor

Rua commented May 14, 2022

You'll need to poke shaderc-rs about it.

@Rua Rua closed this as completed Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants