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.55k stars 266 forks source link

Error: vulkan >= 1.1.97 not found #1870

Closed VulkanAuto closed 3 years ago

VulkanAuto commented 3 years ago

Windows 10 x64

I am updating my version of ffmpeg, I have downloaded the most up to date version of media-autobuild_suite as of December 1, 2020 and I keep running into the problem of "Error: vulkan >= 1.1.97 not found using pkg-config". I have tried deleting the folder titled "vulkan-loader-git" that is located within the "build" folder in the hopes that it will download everything again and fix the issue, but it does not seem to be working. Any help is greatly appreciated. Thank you for your service.

21:14:14 AviSynthPlus git  ................................. [Up-to-date]
21:14:17   Running git update for vulkan-loader...
21:14:17 vulkan-loader git  ................................ [Up-to-date]
21:14:21   Running git update for glslang...
21:14:21 glslang git  ...................................... [Up-to-date]
21:14:38   Running git update for ffmpeg...
21:14:39 ┌ ffmpeg git  ............................... [Recently updated]
21:14:39 ├ Changing options to comply to nonfree...
CUDA_PATH environment variable not set or directory does not exist.
21:14:46 ├ Compiling static FFmpeg...
21:14:48 ├ Running configure...
Likely error (tail of the failed operation logfile):
CXXFLAGS: -mthreads -mtune=generic -O2 -pipe
LDFLAGS: -pipe -static-libgcc -static-libstdc++ -L/local64/lib -L/mingw64/lib
../configure --prefix=/local64 --bindir=/local64/bin-video --pkg-config=pkgconf --pkg-config-flags=--static --cc=ccache gcc --cxx=ccache g++ --disable-autodetect --enable-amf --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-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-chromaprint --enable-decklink --enable-frei0r --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfribidi --enable-libgme --enable-libilbc --enable-libsvthevc --enable-libsvtvp9 --enable-libkvazaar --enable-libmodplug --enable-librtmp --enable-librubberband --enable-libtesseract --enable-libxavs --enable-libzmq --enable-libzvbi --enable-openal --enable-libcodec2 --enable-ladspa --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libxavs2 --enable-libuavs3d --enable-opencl --enable-opengl --disable-libopenh264 --enable-openssl --extra-cflags=-fopenmp --extra-libs=-lgomp --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DCACA_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-libs=-lpsapi --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB --enable-nonfree --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags=-ID:/temp/local64/include/AL --extra-version=gba6e2a2d05+4
ERROR: vulkan >= 1.1.97 not found using pkg-config

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.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
configure failed. Check D:/temp/build/ffmpeg-git/build-static-64bit/ab-suite.configure.log
This is required for other packages, so this script will exit.
21:18:53   Creating diagnostics file...

All relevant logs have been anonymously uploaded to https://0x0.st/i7fH.zip
Copy and paste [logs.zip](https://0x0.st/i7fH.zip) in 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

1480c1 commented 3 years ago

try deleting build/vulkan-loader-git and rerunning https://github.com/m-ab-s/media-autobuild_suite/commit/11b51c4822c9f290d299b30689d27e574709291f

VulkanAuto commented 3 years ago

try deleting build/vulkan-loader-git and rerunning 11b51c4

I deleted the file and am running it again. I'll update on what happens.

VulkanAuto commented 3 years ago

It worked! Thank you!