m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

[mingw64] [shaderc] CMake Error: install(EXPORT "glslang-targets" ...) includes target "SPIRV" which requires target "SPIRV-Tools-opt" that is not in any export set. #2647

Closed vt-idiot closed 2 months ago

vt-idiot commented 2 months ago
02:49:20   Running git update for shaderc...
02:49:26 ┌ shaderc git  ................................. [Updates found]
02:49:41 ├ Running uninstall...
02:49:42 ├ Running dependencies...
02:50:07 ├ Running cmake...
Likely error (tail of the failed operation logfile):
-- Configuring done (24.6s)
CMake Error: install(EXPORT "glslang-targets" ...) includes target "SPIRV" which requires target "SPIRV-Tools-opt" that is not in any export set.
-- Generating done (0.5s)
CMake Warning:
  Manually-specified variables were not used by the project:

    SPIRV_HEADERS_SKIP_INSTALL

CMake Generate step failed.  Build files cannot be regenerated correctly.
cmake failed. Check J:/media-autobuild_suite-master/build/shaderc-git/build-64bit/ab-suite.cmake.log
This is required for other packages, so this script will exit.
02:50:35   Creating diagnostics file...

Attach J:\media-autobuild_suite-master\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.
Try running the build again at a later time.

logs.zip

I do have the latest two commits already, git pulled before I started.

Andarwinux commented 2 months ago

add -DENABLE_SPIRV_TOOLS_INSTALL=ON to shaderc cmake args

vt-idiot commented 2 months ago

Thanks @Andarwinux

Appears to be a duplicate of #2645