You need to provide a path to proper dir with header files with -S env="INCLUDE:...., see http://code.google.com/p/v8/wiki/BuildingOnWindows for more details.
yours, anton. On Fri, Dec 4, 2009 at 3:35 AM, Stephen Adams <[email protected]> wrote: > I'm trying to build the v8 bleeding-edge. > I have a change for code gen for multiply by SMI that I have tested on > the version of V8 that is part of building Chromium. > > When I try to port this simple change to the bleeding edge, I can't > build tor run tests. > What am I doing wrong? > > Thanks! > > C:\V8-be\v8>tools\test.py > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Building targets ... > cl /Foobj\sample\shell\release\shell.obj /c samples\shell.cc /MT /O2 / > GL /nologo /TP /MT /O2 /GL /nologo /DV8_TARGET_ARC > H_IA32 /Iinclude > shell.cc > cl /Foobj\release\ia32\codegen-ia32.obj /c src\ia32\codegen-ia32.cc / > nologo /WX /wd4355 /wd4800 /W3 /MT /O2 /GL /GR- /Gy > /nologo /WX /wd4355 /wd4800 /W3 /MT /O2 /GL /DWIN32 / > DV8_TARGET_ARCH_IA32 /D_USE_32BIT_TIME_T /DENABLE_DEBUGGER_SUPPORT > /DV8_NATIVE_REGEXP /DENABLE_LOGGING_AND_PROFILING /Isrc /Zi > codegen-ia32.cc > cl /Foobj\release\platform-win32.obj /c src\platform-win32.cc /nologo / > WX /wd4355 /wd4800 /W3 /MT /O2 /GL /GR- /Gy /nolo > go /WX /wd4355 /wd4800 /W3 /MT /O2 /GL /DWIN32 /DV8_TARGET_ARCH_IA32 / > D_USE_32BIT_TIME_T /DENABLE_DEBUGGER_SUPPORT /DV8_ > NATIVE_REGEXP /DENABLE_LOGGING_AND_PROFILING /Isrc /Zi > platform-win32.cc > src\platform-win32.cc(57) : fatal error C1083: Cannot open include > file: 'windows.h': No such file or directory > scons: *** [obj\release\platform-win32.obj] Error 2 > scons: building terminated because of errors. > > C:\V8-be\v8>tools\presubmit.py > C:\V8-be\v8\tools\presubmit.py:31: DeprecationWarning: the md5 module > is deprecated; use hashlib instead > import md5 > Traceback (most recent call last): > File "C:\V8-be\v8\tools\presubmit.py", line 299, in <module> > sys.exit(Main()) > File "C:\V8-be\v8\tools\presubmit.py", line 290, in Main > success = CppLintProcessor().Run(workspace) and success > File "C:\V8-be\v8\tools\presubmit.py", line 152, in Run > if not self.ProcessFiles(all_files, path): > File "C:\V8-be\v8\tools\presubmit.py", line 208, in ProcessFiles > process = subprocess.Popen(command, stderr=subprocess.PIPE) > File "C:\Python26\lib\subprocess.py", line 621, in __init__ > errread, errwrite) > File "C:\Python26\lib\subprocess.py", line 830, in _execute_child > startupinfo) > WindowsError: [Error 193] %1 is not a valid Win32 application > > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
