现在的位置: 首页 > 综合 > 正文

using v8

2012年11月09日 ⁄ 综合 ⁄ 共 1139字 ⁄ 字号 评论关闭

firstly install python & scons after get the v8 source by tortoisesvn. and launch cmd goto the v8 directory type:

scons mode=release library=release

then it will build it, i use visual studio 2005, the official site said you should install the sp1 patch, but i am not, and it can still build successfully, maybe the new code is change.

then you can test the sample the site given, but it' doest build. there some errors;

for example: cannot convert Local<T> to String change it.... the final version is something like the following:

 

build and enjoy it!

 

strong recommend a good article http://www.codeproject.com/KB/library/Using_V8_Javascript_VM.aspx

【上篇】
【下篇】

抱歉!评论已关闭.