[FFmpeg-user] Cannot build ffmpeg 4.1 on Cygwin

Eric Thomas eric21797 at gmail.com
Thu Dec 27 20:27:46 EET 2018


I have been trying to build a set of shared libraries in Cygwin.

Here is some system info:

uname –a

     CYGWIN_NT-6.1-WOW64 tvmf2p4-ea00063 1.7.17(0.262/5/3) 2012-10-19 14:39
i686 Cygwin

gcc -v

    4.5.3 posix

make –-version    ***(no gmake)*

     GNU Make 3.82.90

sed –-version

    GNU sed 4.2.1

bash --version

    GNU bash 4.1.10(4)-release (i686-pc-cygwin)

nasm -v

    version 2.10.05

Configure cmd

     bash ./configure –prefix=/usr/tmp/FFmpeg-4.1 -–enable-shared


     CC     libavdevice/alldevices.o

     gcc: unrecognized option '-pthread'

     CC     libavdevice/avdevice.o

     gcc: unrecognized option '-pthread'

     libavdevice/avdevice.c: In function 'device_next':

     libavdevice/avdevice.c:88:13: warning: 'av_oformat_next' is
deprecated (declared at ./libavformat/avformat.h:2088)
     libavdevice/avdevice.c:88:13: warning: 'av_iformat_next' is
deprecated (declared at ./libavformat/avformat.h:2080)

     CC     libavdevice/dshow.o
     gcc: unrecognized option '-pthread'

     libavdevice/dshow.c: In function 'dshow_cycle_devices':

     libavdevice/dshow.c:264:12: error: 'VARIANT' has no member named 'vt'

     libavdevice/dshow.c:268:46: error: 'VARIANT' has no member named 'bstrVal'

     libavdevice/dshow.c: In function 'dshow_show_filter_properties':

     libavdevice/dshow.c:516:5: warning: missing braces around initializer

     libavdevice/dshow.c:516:5: warning: (near initialization for

     ffbuild/common.mak:60: recipe for target 'libavdevice/dshow.o' failed

     make: *** [libavdevice/dshow.o] Error 1

Can anyone help solve this problem?



More information about the ffmpeg-user mailing list