Hi Guys, I'm trying to compile FFmpeg under Windows 10 using Msys2, targeting 32-bit. However, compiling fails. Here are the steps that I put together based on what I gathered from online:
1. Download and installed msys2-i686-20150512.exe to c:\msys32 2. Start MSYS2 Shell, and grab packages like so: pacman -Syu (I've noticed bash.exe crash at times, but retying works) pacman -S make pacman -S gcc pacman -S diffutils pacman -S coreutils pacman -S pkg-config pacman -S tar pacman -S yasm rename C:\msys32\usr\bin\link.exe to C:\msys32\usr\bin\link.exe.bak start VS2015 x86 Native Tools Command Prompt, then start c:\msys32\msys2_shell.bat (so we get access to lib.exe and link.exe) Then I run configure followed by make like so: ../../../configure --extra-ldflags="-Wl,-add-stdcall-alias" --enable-memalign-hack --target-os=win32 --arch=x86 --enable-cross-compile --enable-shared --disable-static --disable-d3d11va --disable-debug --prefix=../../../output/win/x86 make Here is the error: LD libavutil/avutil-54.dll gcc: error: unrecognized command line option ‘-implib:libavutil/avutil.lib’ /home/Prezla/ffmpeg-2.7.2/library.mak:111: recipe for target 'libavutil/avutil-54.dll' failed make: *** [libavutil/avutil-54.dll] Error 1 My impression is that Msys2 is sufficient to build FFmpeg. I don't understand what Mingw's role is or if it's needed. Any suggestions? Did I miss something? Thank you in advanced, /D
------------------------------------------------------------------------------
_______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
