ClearScript build error

Mar 10, 2015 at 4:21 PM
Hi,
I'm unable to build ClearScript with V8. I have VS 2013 on Windows Server 2012.
I have run the V8Update command using VS2013 Command Prompt (x64 Cross Tools).

On trying to build ClearScript solution, I run into this error:
Error 102 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 ClearScriptV8-32
Error 103 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 ClearScriptV8-64

What am I missing here?
Thanks.
Coordinator
Mar 10, 2015 at 6:37 PM
Greetings!

Those errors are exactly what you get if the V8 assemblies are missing. Are you sure you let V8Update run to completion? Was it successful? If so, you should see the following files:
[ClearScriptRoot]\ClearScript\V8\V8\lib\v8-x64.dll
[ClearScriptRoot]\ClearScript\V8\V8\lib\v8-x64.pdb
[ClearScriptRoot]\ClearScript\V8\V8\lib\v8-ia32.dll
[ClearScriptRoot]\ClearScript\V8\V8\lib\v8-ia32.pdb
Cheers!
Mar 10, 2015 at 6:51 PM
I never got any 'success' message for the V8Update. Gave it many more tries and then switched to just installing it directly through package manager console in VS2013:
Install-Package ClearScript.Installer

This gave me all the necessary dll's.
Thanks.
Coordinator
Mar 10, 2015 at 7:58 PM
Glad you got it working! For future reference, V8Update's output should look something like this:
C:\ClearScript>v8update
Build mode: Release
V8 revision: Tested (3.30.33.16)
Creating build directory ...
Downloading V8 ...
Patching V8 ...
Downloading GYP ...
Downloading Python ...
Downloading Cygwin ...
Creating patch file ...
Building 32-bit V8 ...
Building 64-bit V8 ...
Creating lib directory ...
Importing V8 libraries ...
Creating include directory ...
Importing V8 header files ...
Importing patch file ...
Succeeded!
Good luck!