[FFmpeg-user] ffmpeg cross-compile

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon May 14 21:37:08 EEST 2018

2018-05-14 12:28 GMT+02:00, Thomas Schmiedl <thomas.schmiedl at web.de>:

> I tested with ffmpeg-4.0.tar.bz2

Please remember that only current FFmpeg git head is supported here.

> I got this error: 'ERROR: libxml-2.0 not found using pkg-config'.

The reason is apparently that FFmpeg cannot know in advance
where the necessary headers are installed.
I will likely send a patch that would fix the issue for you (with
--extra-cflags=/path/to/libxml) but there is a high chance that
it will be rejected: Building for less common systems is
unfortunately not welcome;-(

My suggestion is you simply patch away the check from
configure or edit config.h and config.mak after running
configure to enable libxml2 and add the necessary path.

Carl Eugen

More information about the ffmpeg-user mailing list