在交叉编译ffmpeg时警告“找不到i686-mingw32-pkg-config,库检测可能会失败”

时间:2013-02-28 04:32:55

标签: ffmpeg cross-compiling

我在尝试交叉编译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配置?

2 个答案:

答案 0 :(得分:0)

缺少的库位于包mingw-w64-tools

安装
sudo apt-get install mingw-w64-tools

答案 1 :(得分:0)

我正在使用MinGw64。那里是缺少的包裹:

pacman -S mingw-w64-x86_64-toolchain
相关问题