[FFmpeg-user] ERROR: libx264 not found

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Jan 30 00:05:12 EET 2017


2017-01-26 11:44 GMT+01:00 Vlad Rahmileviz <Vlad.Rahmileviz at briefcam.com>:

> I'm trying to build FFMPEG with "--enable-libx264" option.
> It fails on configure
> ($ ./configure --enable-asm --enable-yasm --enable-shared --disable-static --prefix=/c/ffmpeg --toolchain=msvc --arch=x86_64 --extra-cflags="-MD" --enable-gpl --enable-libx264)

> ./ffconf.YAf6YOV3.c(1): fatal error C1083: Cannot open include file: 'x264.h': No such file or directory

You have to install the necessary header x264.h (and the actual
library) in a place
where the compiler will find it by default or tell configure (and the
compiler) where
to find them with --extra-cflags and --extra-ldflags.

Unrelated:
The following configure options have no effect, please remove them:
--enable-asm --enable-yasm --arch=x86_64

Carl Eugen


More information about the ffmpeg-user mailing list