摘要: 编译angle时候会产生_interlockedbittestandset 重载的问题因为SDK和vc/include冲突了There are 2 conflicting declarations of _interlockedbittestandset.In intrin.h the first argument is long *In WinNT.h the first argument is long volatile *我们处理方案是,此时函数在intrin.h中会吧函数当成红处理的,不会函数冲突了 #define _interlockedbittestandset fk_m$_set 阅读全文
posted @ 2012-08-14 14:25 zhengchuang 阅读(341) 评论(0) 推荐(0) 编辑
摘要: GYP是chrome方便生成各种工程项目使用python写的脚本,后缀gyp其实是python脚本,chrome使用的python2.6作为脚本的我们以chrome中v8项目的gyp主要说明下script_dir = os.path.dirname(__file__) //获得该脚本路径v8_root = os.path.normpath(os.path.join(script_dir, os.pardir)) //获得根目录sys.path.insert(0, os.path.join(v8_root, 'build', 'gyp', 'pylib&# 阅读全文
posted @ 2012-08-13 23:33 zhengchuang 阅读(803) 评论(0) 推荐(0) 编辑
摘要: chrome的项目现在是越复杂,导致了无论是下载源代码、编译、阅读都变得很困难。本人今天用标题描述的环境编译了chrome总结如下1.千万别用gclient sync去下载,这样下载估计起码得个两三天而且还中途失败(PS其实可能是大陆的缘故吧,你们懂的)2.下载一个tarball可能不是最新的chrome但是没关系gclient sync以下就搞懂了3.在中途可能遇到jsoncpp工程无法下载,这个不奇怪jsoncpp现在在大陆好像不能访问了,想要下载还是设置一个代理吧(这里IE代理+svn是一个吗?)4.这个是今天的一已经安装了一个DX2010二月份的,官网说是2010但是是6月份的。如果粗 阅读全文
posted @ 2012-08-07 21:31 zhengchuang 阅读(1288) 评论(2) 推荐(0) 编辑
摘要: C++中使用v8编译 阅读全文
posted @ 2012-08-03 21:50 zhengchuang 阅读(1016) 评论(0) 推荐(0) 编辑