文章来源:http://blog.youkuaiyun.com/allendale/article/details/9262833
参考:http://dev.chromium.org/developers/how-tos/build-instructions-windows
1 工欲善其事,必先利其器,要求64位系统,内存至少8G,否则编译器来将难以忍受的慢。
显示文件后缀名
2 安装Visual Studio 2010 Uitimate,安装路径默认。然后顺序安装:
以上都用默认安装路径
3 找到asyncinfo.h这个文件,用记事本打开,做如下修改:
Index: asyncinfo.h
===================================================================
--- asyncinfo.h
+++ asyncinfo.h
@@ -63,7 +63,7 @@
#pragma once
#ifdef __cplusplus
namespace ABI { namespace Windows { namespace Foundation {
-enum class AsyncStatus {
+enum /*class*/ AsyncStatus {
//修改
Started = 0,
Completed,
Canceled,