Sign in to follow this  
/a/non

How to build Google V8?

Recommended Posts

/a/non    148
Hello there!

I've been trying to build the v8 source in hope of getting some communication between javascript and my project. I've read through the official documentation countless times with no luck or understanding. Could anyone helpfully point me into the right direction or even better yet, provide me with a pre-built copy of the sort?

I'm running Windows 8 (x64), with VS2010 and VS2012 installed, if it helps.

Thank you in advance.

Share this post


Link to post
Share on other sites
wqking    761
Did you try to build it? And what is specified error?
I compiled it when its build system was scon. It was really frustrated, but at least I can try to compile it with reading the document.

Share this post


Link to post
Share on other sites
/a/non    148
[quote name='wqking' timestamp='1355580962' post='5010948']
Did you try to build it? And what is specified error?
I compiled it when its build system was scon. It was really frustrated, but at least I can try to compile it with reading the document.
[/quote]

[url="http://wiki.gametheorylabs.com/groups/judgementengine/wiki/af593/Build_GoogleV8.html"]http://wiki.gametheorylabs.com/groups/judgementengine/wiki/af593/Build_GoogleV8.html[/url]
I've been trying to build it with the tutorial above, but the command line always seem to give a strange error at step 2 and 6. Also, whenever I attempt step 7, it always gives out the message, "python command not found".

I've installed python, yet I don't understand why this happens.

I'm hoping for someone to please provide me with a built copy of v8, the hassle of trying to build this MULTIPLE times has put me off ;_;

Share this post


Link to post
Share on other sites
wqking    761
I can't help much since I didn't build it with GYP.
For "python not found", did you add Python folder to system environment variables?
Or to say, if you start a command terminal and type "python", does it work?

Share this post


Link to post
Share on other sites
/a/non    148
[quote name='wqking' timestamp='1355736532' post='5011601']
I can't help much since I didn't build it with GYP.
For "python not found", did you add Python folder to system environment variables?
Or to say, if you start a command terminal and type "python", does it work?
[/quote]
I seemed to solve the issue wit "python not found", I had to change path I was using, so rather than;

python build/gyp_v8

I had to use;

third_party/python_26/python.exe build/gyp_v8

When building I get the error, "Import error, no module named gyp" using python.
I've installed gyp and even went and placed it inside python's directory.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this