Hi.
I'm having trouble building ClearScript with V8.
I'm using VS 2012 and Windows 7 x64.
Below is the error I got.
C:\ClearScript-5.3.4>V8Update.cmd
Build mode: Release
V8 revision: Tested (15192, Version 3.19.18)
Creating build directory ...
Downloading V8 ...
Patching V8 ...
Downloading GYP ...
Downloading Python ...
Downloading Cygwin ...
Building 32-bit V8 ...
*** THE PREVIOUS STEP FAILED ***
The build.log got so much error and warning, I delete the duplicated error and warning.
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
.....
.....
.....
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\js2c.vcxproj" (default targets).
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.vcxproj.metaproj" (default targets) -- FAILED.
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.sln" (v8 target(s)) -- FAILED.
Build FAILED.
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.sln" (v8 target) (1) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.vcxproj.metaproj" (default target) (2) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj" (default target) (3) ->
(ClCompile target) ->
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
.....
.....
.....
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.sln" (v8 target) (1) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.vcxproj.metaproj" (default target) (2) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj" (default target) (3) ->
(ClCompile target) ->
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
.....
.....
.....
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
What can i do?? Any suggestions please.
Thanks!
I'm having trouble building ClearScript with V8.
I'm using VS 2012 and Windows 7 x64.
Below is the error I got.
C:\ClearScript-5.3.4>V8Update.cmd
Build mode: Release
V8 revision: Tested (15192, Version 3.19.18)
Creating build directory ...
Downloading V8 ...
Patching V8 ...
Downloading GYP ...
Downloading Python ...
Downloading Cygwin ...
Building 32-bit V8 ...
*** THE PREVIOUS STEP FAILED ***
The build.log got so much error and warning, I delete the duplicated error and warning.
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
.....
.....
.....
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\js2c.vcxproj" (default targets).
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.vcxproj.metaproj" (default targets) -- FAILED.
Done Building Project "C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.sln" (v8 target(s)) -- FAILED.
Build FAILED.
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.sln" (v8 target) (1) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.vcxproj.metaproj" (default target) (2) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj" (default target) (3) ->
(ClCompile target) ->
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
.....
.....
.....
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.sln" (v8 target) (1) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8.vcxproj.metaproj" (default target) (2) ->
"C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj" (default target) (3) ->
(ClCompile target) ->
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\optimizing-compiler-thread.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
.....
.....
.....
c:\clearscript-5.3.4\clearscript\v8\v8\build\v8-ia32\src\utils.h : error C2220: warning treated as error - no 'object' file generated (....\src\extensions\gc-extension.cc) [C:\ClearScript-5.3.4\ClearScript\V8\V8\build\v8-ia32\tools\gyp\v8_base.ia32.vcxproj]
133 Warning(s)
131 Error(s)
Time Elapsed 00:01:39.86What can i do?? Any suggestions please.
Thanks!