ITADN

ffmpeg fails to build due to spirv-headers

#3097Openbasilisk0315 创建于 2026-04-02
B
basilisk0315commented
``` bash ┌ ffmpeg git ............................................ [Updates found] ├ Changing options to comply to nonfree... ├ Compiling static FFmpeg... ├ Running uninstall... ├ Running configure... Likely error (tail of the failed operation logfile): CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -static-libgcc -static-libstdc++ -L/local64/lib -L/mingw64/lib ../configure --prefix=/local64 --bindir=/local64/bin-video --pkg-config=pkgconf --pkg-config-flags=--keep-system-libs --keep-system-cflags --static --cc=ccache gcc --cxx=ccache g++ --ld=ccache g++ --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion -march=native -Db_lto=true -Db_lto_mode=thin --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libdav1d --disable-debug --enable-fontconfig --enable-libass --enable-libfreetype --enable-libzimg --enable-gpl --enable-libxvid --enable-version3 --enable-libsrt --enable-vulkan --enable-gnutls --enable-libglslang spirv-headers is required to build with Vulkan support enabled. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. configure failed. Check E:/MABS/build/ffmpeg-git/build-static-64bit/ab-suite.configure.log This is required for other packages, so this script will exit. Creating diagnostics file... Attach E:\MABS\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](https://github.com/user-attachments/files/26450242/logs.zip) Cheers John
21 条评论