[FFmpeg-user] ffmpeg cross-compile

Moritz Barsnick barsnick at gmx.net
Mon May 14 16:33:38 EEST 2018

On Mon, May 14, 2018 at 12:28:13 +0200, Thomas Schmiedl wrote:
> I'm only an end-user, maybe someone could help me?

Perhaps someone at the freetz site?

> I got this error: 'ERROR: libxml-2.0 not found using pkg-config'. But 
> the freetz-toolchain does not contain pkg-config. Is it possible to use 
> pkg-config from the Debian 9 host system?

Hmm, this file from freetz at least mentions the pkg-config file:

But yes, if you know hwo pkg-config works, you can easily "fake" a
libxml-2.0.pc file and have ffmpeg use it.

> When calling ffmpeg's configure without '--enable-libxml2', there is no 
> pkg-config error. But a warning: 'mips-linux-pkg-config not found, 
> library detection may fail.'

Hmm, that means you don't have a pkg-config tool for cross build
either? I would also fake this, but there may be a better way.


More information about the ffmpeg-user mailing list