using v8

来源:互联网 发布:北京体育台网络电视 编辑:程序博客网 时间:2024/06/11 15:57

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