[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
 /home/carlo/packages/ffmpeg/mingw64-i686-ffmpeg-3.4.12-1.noarch/src/ffmpeg-3.4.12/libavdevice/avdeviceres.rc
 /bin/sh: i686-w64-mingw32-gcc -E -xc-header -DRC_INVOKED -MMD -MF
 libavdevice/avdeviceres.d -MT libavdevice/avdeviceres.o: No such file or
 directory
 make: ***
 [/home/carlo/packages/ffmpeg/mingw64-i686-ffmpeg-3.4.12-1.noarch/src/ffmpeg-3.4.12/ffbuild/common.mak:86:
 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:

 http://ffmpeg.org/pipermail/ffmpeg-devel/2022-December/305046.html

 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.

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


More information about the FFmpeg-trac mailing list