Hi Timothy,

What CPU is your computer running? Plus, could you do a "set" in the
cmd window and post the output (to let us see your environment).

Also, as you are using the express version it should not (at least
this is true for the 2008 version) be necessary to give the path as
argument to scons - see:
http://code.google.com/p/v8/wiki/BuildingOnWindows
for details on the parameters you need to set.

I am not sure, but if you can run vcvarsall.bat (see the page above)
you might just be able to do a:
scons env="PATH:%PATH%,INCLUDE:%INCLUDE%,LIB:%LIB%"

Alternatively, try passing arch=ia32 to scons (meaning build to 32 bit
intel architecture - but this is standard and as such should not be
necessary to set)

Cheers,
Rico

On Fri, Apr 23, 2010 at 7:23 PM, Timothy-S <[email protected]> wrote:
> Running Windows XP Pro, 32bit, SP3.  A quick google search showed that
> this question has been asked before, but the asker solved the question
> and never posted how.  It was mentioned that the CPU architecture is
> the problem, but I don't think that's too likely, since I can run
> programs that use v8 (namely, Google Chrome...).  There's a decent
> chance I screwed something up when building V8.  I use MSVC++ Express,
> 2010, and so had to kinda wing it with the paths and such.  I have
> less than a year of programming experience, so it's not unlikely that
> I screwed something up.
>
> The error I'm getting: "c:\documents and settings\MyUsername\my
> documents\visual studio 2010\projects\v8\src\globals.h(61): fatal
> error C1189: #error :  Your target architecture is not supported by
> v8"
>
>
> And here's the command-prompt commands I used to build V8, in case
> that's where I messed up:
> set PATH=C:\Python26;C:\Python26\Scripts;%PATH%
>
> scons env="PATH:C:\Program Files\Microsoft Visual Studio 10.0\VC\bin;C:
> \Program Files\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program
> Files\Microsoft Visual Studio 10.0\Common7\Tools,INCLUDE:C:\Program
> Files\Microsoft Visual Studio 10.0\VC\include;C:\Program Files
> \Microsoft SDKs\Windows\v7.0A\Include,LIB:C:\Program Files\Microsoft
> Visual Studio 10.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v7.0A
> \Lib"
>
>
> The code in the project I'm trying to compile is a perfect copy-paste
> of the second (somewhat longer) hello_world example from the "Getting
> Started" wiki page.
>
> Thank you for your time, and help is very much appreciated!
>
> Timothy Sassone
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to