Open visual studio Developer Command Prompt for VS2013 or VS2013 x86 Native Tools Command Prompt(2nd one is preferable).Extract the files in a directory (in my case " c:\codecsBuild\x264 ").Download source code of latest x264 from this website.Use visual studio 2013 update 2 or later.(This supports CC=cl compiler).Output: /c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/lib Output: /c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/link Output: /c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/cl Run below commands and check the output." C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts " Open visual studio Developer Command Prompt for VS2013 or VS2013 x86 Native Tools Command Prompt(2nd one is preferable). (in my case file name was "yasm-1.3.0-win32.exe")after downloading exe file rename it as "yasm.exe" and place it or replace if already exists in "C:\msys32\usr\bin" directory. Download yasm win32 ".exe" version from.go to C:\msys32\usr\bin and rename "link.exe" to "link_backup.exe".In that case you can ignore this command)
pacman -Su (sometimes this command creates error then you have uninstall msys2 and install again.update-core (Update the system packages with)Ĭlose MSYS2, run it again and run below commands.Download msys2 32 bit form this link and install it.(in my case installed " msys2-i686-20160205.exe" in directory is "c:\msys32").