4

我在尝试交叉编译 ffmpeg 时收到以下警告,如下所示

$ ./configure --enable-gpl --enable-version3 --enable-libgsm --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libopencore_amrwb --enable-libopencore_amrnb --arch=x86 --enable-runtime-cpudetect --enable-static --disable-shared --enable-libxvid --enable-libx264 --target-os=mingw32 --enable-avisynth --enable-w32threads --cross-prefix=i686-mingw32- --cc='i686-mingw32-gcc' --enable-memalign-hack --disable-doc --enable-avfilter --disable-ffplay --disable-ffserver --disable-ffprobe

配置运行良好,但出现以下警告

License: GPL version 3 or later
Creating config.mak and config.h...
libavutil/avconfig.h is unchanged

WARNING: i686-mingw32-pkg-config not found, library detection may fail.

我如何提供i686-mingw32-pkg-config配置?

4

2 回答 2

1

The missing library is located in the package mingw-w64-tools.

Install it with

sudo apt-get install mingw-w64-tools
于 2015-02-16T16:33:41.180 回答
0

我正在使用 MinGw64。这是缺少的包:

pacman -S mingw-w64-x86_64-toolchain
于 2019-07-01T20:50:05.083 回答