#11538: Not possible to compile ffmpeg for 32-bit on mingw32
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  AndersIgelstrom                    |
               Status:  new          |                 Priority:  important
            Component:  build        |                  Version:  git-
  system                             |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I am building ffmpeg/x264 on Windows 10.
 Have built 64-bit successfully.
 The 32-bit configuration gives
 "Host Compiler lacks C11 support"

 Gcc version is 14.2.0 and should have c11 from wah

 This is how I set up the environment to compile.

 Installed msys2-x86_64-20250221.exe
 In the UCRT64 command window:
 -       pacman -S git
 -       pacman -S mingw-w64-i686-toolchain
 -       pacman -S mingw-w64-x86_64-toolchain
 -       pacman -S base-devel
 -       pacman -S yasm
 -       pacman -S nasm
 -       mkdir /src
 -       cd /src
 In mingw32:
 -       git clone http://git.videolan.org/git/x264.git
 -       git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
 -       cd x264
 -       make clean
 -       ./configure --prefix=/mingw32 --enable-shared --disable-cli
         --disable-gpl --enable-lto --host=i686-w64-mingw32
 -       make -j8
 -       make install
 -       cd ../ffmpeg
 -       As we have a license I edit ./configure: move libx264 from
 EXTERNAL_LIBRARY_GPL_LIST to EXTERNAL_LIBRARY_LIST
 -       make clean
         ./configure --prefix=/mingw32 --enable-shared --disable-static
          --disable-programs --disable-lzma --disable-doc --disable-sdl2
           --enable-libx264 --disable-debug --host=i686-w64-mingw32
 Error:
 "Host Compiler lacks C11 support"

 ffmpeg version 7.1.1.1 and also from git March 15
 built on Windows 10
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11538>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to