1. 来源(能够不用看)
http://siliconandlithium.blogspot.com/2014/03/building-x264-on-windows-with-visual.htmlhtml
2. https://github.com/ShiftMediaCenter/x264
直接下载改过的带vs工程的代码git
3. SMC\x264.slngithub
4. 关键, yasm 1.3.0 配置windows
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations
vsyasm.props vsyasm.targets vsyasm.xml 这3个文件从官方下载对应版本后拷贝过来,ui
vsyasm.props 要改 <CommandLineTemplate>"$(YasmPath)"vsyasm.exe -Xvc -f win$(PlatformArchitecture) [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>调试
cpu太老要去掉 -Xvcorm
5. 工程如今能编译过, 可是输出文件夹,和调试路径不对, 修改一下便可xml