[FFmpeg-user] cross compilation of ffmpeg, targetting WIndows: libbluray can not be found

Vincent Torri vincent.torri at gmail.com
Wed May 29 15:57:27 EEST 2019


On Wed, May 29, 2019 at 2:29 PM Moritz Barsnick <barsnick at gmx.net> wrote:
>
> On Wed, May 29, 2019 at 12:08:27 +0200, Vincent Torri wrote:
> > ERROR: libbluray not found using pkg-config
> [config.log:]
> > require_pkg_config libbluray libbluray libbluray/bluray.h bd_open
> > check_pkg_config libbluray libbluray libbluray/bluray.h bd_open
> > test_pkg_config libbluray libbluray libbluray/bluray.h bd_open
> > false --exists --print-errors libbluray
> > ERROR: libbluray not found using pkg-config
>
> IMO, this indicates that libbluray.pc was not found. Is it installed in
> the same path as the other cross-compile capable libraries? Is it
> installed in a MingW version?

yes

> > First I would like to know if I have launched configure with the
> > correct options for cross compilation
>
> As far as I can tell from the logs, looks good so far.
>
> > --enable-gcrypt --enable-libbluray --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libmp3lame --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtls --enable-libvorbis --enable-libwebp --enable-libxml2
>
> Do you really have all these libraries' development versions installed,
> as MingW versions?

Yes, and their dependencies. I have written a small program that
automatically download, compile and install the sources of around 60
packages with mingw-w64. If you are interested, look at :
https://github.com/vtorri/ewpi

regards

Vincent Torri


More information about the ffmpeg-user mailing list