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: SvtAv1Enc >= 0.8.4 not found using pkg-config #2132

Open lyglay1991 opened 2 years ago

lyglay1991 commented 2 years ago

CPPFLAGS: -D_FORTIFY_SOURCE=0 -D__USE_MINGW_ANSI_STDIO=1 CFLAGS: -mtune=generic -O2 -pipe CXXFLAGS: -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=--keep-system-libs --keep-system-cflags --static --cc=ccache clang --cxx=ccache clang++ --ld=ccache clang++ --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-librist --enable-librtmp --enable-librubberband --enable-libxavs --enable-libzmq --enable-libzvbi --enable-openal --enable-libcodec2 --enable-ladspa --enable-vapoursynth --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libxavs2 --enable-libuavs3d --enable-libplacebo --enable-opencl --enable-opengl --enable-libopenh264 --enable-openssl --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=-IF:/media-autobuild_suite-master/local64/include --extra-cflags=-IF:/media-autobuild_suite-master/local64/include/AL --extra-version=g12139d1103+5 ERROR: SvtAv1Enc >= 0.8.4 not found using pkg-config

https://0x0.st/o87D.zip

1480c1 commented 2 years ago
ccache clang++ -pipe -static-libgcc -static-libstdc++ -L/local64/lib -L/mingw64/lib -Wl,--nxcompat,--dynamicbase -Wl,--high-entropy-va -Wl,--as-needed -Wl,--pic-executable,-e,mainCRTStartup -Wl,--image-base,0x140000000 -IF:/media-autobuild_suite-master/local64/include/svt-av1 -LF:/media-autobuild_suite-master/local64/lib -o /tmp/ffconf.jAd5inO7/test.exe /tmp/ffconf.jAd5inO7/test.o -lSvtAv1Enc -liconv -lpsapi -lstdc++ -lstdc++
F:/media-autobuild_suite-master/msys64/mingw64/bin/ld: cannot open output file F:/media-autobuild_suite-master/msys64/tmp/ffconf.jAd5inO7/test.exe: Permission denied
clang++: error: unable to remove file: Permission denied
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: SvtAv1Enc >= 0.8.4 not found using pkg-config

please check your anti-virus software to see if it's deleting the files during compilation

lyglay1991 commented 2 years ago
ccache clang++ -pipe -static-libgcc -static-libstdc++ -L/local64/lib -L/mingw64/lib -Wl,--nxcompat,--dynamicbase -Wl,--high-entropy-va -Wl,--as-needed -Wl,--pic-executable,-e,mainCRTStartup -Wl,--image-base,0x140000000 -IF:/media-autobuild_suite-master/local64/include/svt-av1 -LF:/media-autobuild_suite-master/local64/lib -o /tmp/ffconf.jAd5inO7/test.exe /tmp/ffconf.jAd5inO7/test.o -lSvtAv1Enc -liconv -lpsapi -lstdc++ -lstdc++
F:/media-autobuild_suite-master/msys64/mingw64/bin/ld: cannot open output file F:/media-autobuild_suite-master/msys64/tmp/ffconf.jAd5inO7/test.exe: Permission denied
clang++: error: unable to remove file: Permission denied
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: SvtAv1Enc >= 0.8.4 not found using pkg-config

please check your anti-virus software to see if it's deleting the files during compilation

The anti-virus software is closed, and it will report that other libraries are not found using pkg-config after re-running. After re-running several times, it will report that different libraries are not found using pkg-config. Please fix it.

1480c1 commented 2 years ago

The anti-virus software is closed, and it will report that other libraries are not found using pkg-config after re-running. After re-running several times, it will report that different libraries are not found using pkg-config. Please fix it.

sorta need a bit more info about other issues since the only issue I can tell with the provided logs is that something is interfering with the compilation and is either deleting the files or permission issues