[FFmpeg-trac] #9850(build system:new): Build woes on Win32

FFmpeg trac at avcodec.org
Fri Jul 29 17:52:10 EEST 2022


#9850: Build woes on Win32
-------------------------------------+-------------------------------------
             Reporter:  Jean-        |                     Type:  defect
  Michaël Celerier                   |
               Status:  new          |                 Priority:  normal
            Component:  build        |                  Version:  git-
  system                             |  master
             Keywords:  mingw        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Hello,

 given today's ffmpeg-snapshot.tar.bz2 (but this has been happening for a
 few weeks):


     - Making an out-of-source build does not seem to work anymore,
 configure still seems to create Makefiles in the ffmpeg source dir

     - At some point during the build I hit errors about weird files which
 look like a makefile that wasn't written properly:

     AR      libavfilter/libavfilter.a
     C:/ossia-sdk/llvm/bin/llvm-ar.exe: error: libavfilter/v: No such file
 or directory
     make: *** [ffbuild/library.mak:38: libavfilter/libavfilter.a] Error 1


 And now for the weird, weird thing:

 - if I re-run "make" it still does not work.
 - But ! If I run verbosely with `make V=1` then suddenly it works.

 I am compiling with clang on a mingw shell, here is my build invocation:


     ./configure \
         --arch=x86_64 --cpu=x86_64 \
         --disable-doc --disable-ffmpeg --disable-ffplay \
         --disable-debug \
         --pkg-config-flags="--static" \
         --enable-gpl --enable-version3 \
         --disable-openssl --disable-securetransport \
         --disable-videotoolbox \
         --disable-network --disable-iconv \
         --enable-protocols  --disable-lzma \
         --prefix=c:/ossia-sdk/ffmpeg

 Thanks !
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9850>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list