I know this post is pretty old, but I'm going to improve the answer. I assume that Python is installed on your Windows computer (just install it from the official page and add the Python root directory to the PATH variable), as well as Git - Bash. I will use "~ /" to represent your user directory.
The easiest way to compile V8 is to use the depot tools, just create a directory, say ~ / devtools / google, use Git - bash to run
cd ~/devtools/google git clone git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Then add ~ / devtools / google / depot_tools to your PATH variable.
Use Power Shell to Launch
cd ~/devtools/google fetch v8
This will clone the V8 engine files and all its dependencies gyp, cygwin, etc.
At this point, you can execute the pmed answer from step 7, just change the directories for the environment variables:
I use Path-to-your-installation \ v8 \ to represent ~ / devtools / google / v8
CYGWIN_ROOT=Path-to-your-installation\v8\third_party\cygwin PATH=%CYGWIN_ROOT%\bin;%PATH% PYTHONPATH=Path-to-your-installation\v8\build\gyp\pylib
Then run (in PowerShell) the path to your installation \ v8 \ assembly \ THIRD_PARTY \ Cygwin \ setup_mount.bat the path to your installation \ v8 \ assembly \ THIRD_PARTY \ Cygwin \ setup_env.bat
The visual studio project will be located in the path to your installation \ v8 \ tools \ bench *
You can simply open the v8 project with Visual Studio and compile it.
I had a hard time trying to understand why "fetch v8" somehow doesn’t work in Git - bash, apparently you should use PowerShell (maybe classic cmd too?)
PS: If you have compilation problems (it is impossible to redirect [...] cygncurses-8.dll), see this post https://superuser.com/questions/194529/cygwin-fatal-error-unable-to-remap- what-does-it-mean p>
Sincerely.