zhuan libx264编译问题解决
错误提示:
1>------ Build started: Project: libx264, Configuration: Debug Win32 ------
1>Assembly e:\Sample\DShowDemo\x264\common\x86\x86inc.asm
1>'yasm' 不是内部或外部命令,也不是可运行的程序
1>或批处理文件。
1>Project : error PRJ0019: A tool returned an error code from "Assembly e:\Sample\DShowDemo\x264\common\x86\x86inc.asm"
1>Build log was saved at "file://e:\Sample\DShowDemo\x264\build\win32\Debug\BuildLog.htm"
1>libx264 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
解决方法:
在 http://www.tortall.net/projects/yasm/wiki/Download 这里下载yasm
将yasm-1.1.0-win64.exe 改名yasm.exe复制到VC安装目录,例如:D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
重新编译成功。
错误提示:
1>------ Build started: Project: libx264, Configuration: Debug Win32 ------
1>Assembly e:\Sample\DShowDemo\x264\common\x86\x86inc.asm
1>'yasm' 不是内部或外部命令,也不是可运行的程序
1>或批处理文件。
1>Project : error PRJ0019: A tool returned an error code from "Assembly e:\Sample\DShowDemo\x264\common\x86\x86inc.asm"
1>Build log was saved at "file://e:\Sample\DShowDemo\x264\build\win32\Debug\BuildLog.htm"
1>libx264 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
解决方法:
在 http://www.tortall.net/projects/yasm/wiki/Download 这里下载yasm
将yasm-1.1.0-win64.exe 改名yasm.exe复制到VC安装目录,例如:D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
重新编译成功。