自www.xvid.org 下载源代码后,按照doc目录下的INSTALL安装之。编译时出现错误:
C:/Downloads/xvidcore-1.0.1/xvidcore-1.0.1/src/plugins/plugin_2pass2.c(444) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
C:/Downloads/xvidcore-1.0.1/xvidcore-1.0.1/src/plugins/plugin_2pass2.c(1129) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
C:/Downloads/xvidcore-1.0.1/xvidcore-1.0.1/src/plugins/plugin_2pass2.c(1208) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
C:/Downloads/xvidcore-1.0.1/xvidcore-1.0.1/src/plugins/plugin_2pass2.c(1286) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
C:/Downloads/xvidcore-1.0.1/xvidcore-1.0.1/src/plugins/plugin_2pass2.c(1286) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
C:/Downloads/xvidcore-1.0.1/xvidcore-1.0.1/src/plugins/plugin_2pass2.c(1305) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
最终解决方法:
1、安装Visual Studio 6 Service Pack 5
2、安装Visual C++ Processor Pack 5 (for VSSP5)
2只能在1上安装,而不能在VSSP6上安装
当然还有其它的解决方法:
自行修改xvid的代码或者用GCC for mingW,未曾尝试
参考网页:
http://www.xvid.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=2097