[Libav-user] Compiling ffmpeg with pthread support mscv toolchain

Leonardo Nahra leonardonahra at gmail.com
Fri Sep 9 17:08:25 EEST 2016


On Fri, Sep 9, 2016 at 6:59 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2016-09-08 21:26 GMT+02:00 Leonardo Nahra <leonardonahra at gmail.com>:
> > Hi, I'm trying to compile ffmpeg in the msvc toolchain but I'm having
> > problems enabling pthread support, after I run this configure:
> >
> > ./configure
>
> >  --enable-asm
> >  --enable-yasm
> >  --arch=i386
> >  --disable-libopenjpeg
>
> Unrelated: These have no effect, --arch does not work
> the way many people believe it does.
> (It is needed for cross-compilation.)
>
> >  --disable-ffserver
> >  --disable-ffplay
> >  --disable-ffprobe
> >  --disable-ffmpeg
>
> Fyi: There is an option --disable-programs
>
> >  --enable-pthreads
> >  --extra-libs=pthreadVC2.lib
>
> What does threading support show if you omit these two lines?
>

It shows "threading support w32threads", and it shows "threading support
no" with --disable-w32threads.

--disable-w32threads --enable-pthreads --extra-libs=pthreadVC2.lib also
shows "threading support no"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160909/8b2229f1/attachment.html>


More information about the Libav-user mailing list