Open Valmar33 opened 5 years ago
[11/28] Building CXX object libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o FAILED: libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o /usr/bin/c++ -DNV_EXTENSIONS -I/tmp/makepkg/shaderc-git/src/shaderc/libshaderc_util/include -march=native -O2 -pipe -fstack-protector-strong -fno-plt -ftree-vectorize -ftree-slp-vectorize -Wall -Werror -fvisibility=hidden -fPIC -std=c++11 -std=gnu++11 -MD -MT libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o -MF libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o.d -o libshaderc_util/CMakeFiles/shaderc_util.dir/src/spirv_tools_wrapper.cc.o -c /tmp/makepkg/shaderc-git/src/shaderc/libshaderc_util/src/spirv_tools_wrapper.cc /tmp/makepkg/shaderc-git/src/shaderc/libshaderc_util/src/spirv_tools_wrapper.cc: In function ‘bool shaderc_util::SpirvToolsOptimize(shaderc_util::Compiler::TargetEnv, shaderc_util::Compiler::TargetEnvVersion, const std::vector<shaderc_util::PassId>&, std::vector<unsigned int>*, std::string*)’: /tmp/makepkg/shaderc-git/src/shaderc/libshaderc_util/src/spirv_tools_wrapper.cc:120:13: error: ‘OptimizerOptions’ is not a member of ‘spvtools’ 120 | spvtools::OptimizerOptions opt_opts; | ^~~~~~~~~~~~~~~~ /tmp/makepkg/shaderc-git/src/shaderc/libshaderc_util/src/spirv_tools_wrapper.cc:121:3: error: ‘opt_opts’ was not declared in this scope 121 | opt_opts.set_validator_options(val_opts); | ^~~~~~~~
Can you provide more context, i.e. OS, any changes to the repo, build steps? Are you trying to build in a repo checked out to this revision?
You may need to update the version of SPIRV-Tools in your checkout.