[FFmpeg-devel] [PATCH] --enable-libx264 and --enable-libxvid depend on --enable-pthread
Aurelien Jacobs
aurel
Sat Feb 28 01:15:28 CET 2009
M?ns Rullg?rd wrote:
> Brad <brad at comstyle.com> writes:
>
> > On Friday 27 February 2009 18:43:58 M?ns Rullg?rd wrote:
> >> pkg-config fails miserably if you are cross-compiling, something
> >> FFmpeg must support.
I've already cross-compiled numbers of packages, some of them using
pkg-config, so it doesn't seem to be as broken as you pretend.
> > Everything else just fails miserably all the time.
True. --enable-libx264 don't work, weather you're cross-compiling
or not. So using pkg-config won't make cross-compiling more broken...
> Is the FFmpeg configure script not working for you? If not, why have
> you not reported it? We fix any bugs we find out about.
Huh... IIRC it was already reported numerous times...
Anyway, here it is:
$ ./configure --enable-gpl --enable-libx264
ERROR: libx264 not found
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
$ ./configure --enable-gpl --enable-libx264 --enable-pthreads
ERROR: libx264 not found
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
The following is working:
$ ./configure --enable-gpl --enable-libx264 --extra-ldflags="-lpthread -lX11"
But the needed libraries would be different depending on the way x264
was built.
Aurel
More information about the ffmpeg-devel
mailing list