[FFmpeg-trac] #10125(build system:new): ffmpeg-3.4.12 does not build (i686-w64-mingw32)

FFmpeg trac at avcodec.org
Tue Dec 27 16:17:17 EET 2022

#10125: ffmpeg-3.4.12 does not build (i686-w64-mingw32)
             Reporter:  Carlo Bramini  |                     Type:  defect
               Status:  new            |                 Priority:  normal
            Component:  build system   |                  Version:  3.4.12
             Keywords:                 |               Blocked By:
             Blocking:                 |  Reproduced by developer:  0
Analyzed by developer:  0              |
 I tried to build ffmpeg-3.4.12, which is the last one supporting Windows
 XP, but it fails to compile the resource file for Windows.
 Running verbose build, it prints this output on the console:

 $ make V=1
 i686-w64-mingw32-windres -I. -Isrc/ --preprocessor "i686-w64-mingw32-gcc
 -E -xc-header -DRC_INVOKED -MMD -MF libavdevice/avdeviceres.d -MT
 libavdevice/avdeviceres.o" -o libavdevice/avdeviceres.o
 /bin/sh: i686-w64-mingw32-gcc -E -xc-header -DRC_INVOKED -MMD -MF
 libavdevice/avdeviceres.d -MT libavdevice/avdeviceres.o: No such file or
 make: ***
 libavdevice/avdeviceres.o] Error 1

 I found a solution by comparing ffbuild/common.mak between this version
 and the latest 5.1.2, which has already fixed this bug. According to this
 reply that I received on the mailing list:


 a patch already exists in commit f9626d1065c43f1d51afe66bdf988b9f33729440.
 Is it possible to apply this patch also to 3.4 branch, to allow building
 this version on Windows, when an updated release will be made public?

 Thank you very much.

Ticket URL: <https://trac.ffmpeg.org/ticket/10125>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list