If I comment out the "#error" line, I get the following errors: 1>c:\documents and settings\MyUsername\my documents\visual studio 2010\projects\v8\src\conversions-inl.h(78): error C3861: 'isnan': identifier not found 1>c:\documents and settings\MyUsername\my documents\visual studio 2010\projects\v8\src\conversions-inl.h(79): error C3861: 'isfinite': identifier not found 1>c:\documents and settings\MyUsername\my documents\visual studio 2010\projects\v8\src\conversions-inl.h(101): error C3861: 'isfinite': identifier not found
If I comment those lines out (probably not safe, but just to see if there were other, deeper errors), I get this mess: 1> v8.lib(api.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__acc...@12 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__lis...@8 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__s...@16 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__closesoc...@4 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__freeaddri...@4 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__timegett...@0 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__soc...@12 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__b...@12 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__r...@16 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__setsock...@20 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__shutd...@8 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__nt...@4 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__ht...@4 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__wsagetlaster...@0 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__getaddri...@16 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__ht...@4 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__nt...@4 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__wsastar...@8 1>v8.lib(platform-win32.obj) : error LNK2001: unresolved external symbol __imp__conn...@12 1>c:\documents and settings\halbarad\my documents\visual studio 2010\Projects\V8Test\Debug\V8Test.exe : fatal error LNK1120: 19 unresolved externals Didn't know if that information would help or not, so I figured I'd probably better share it :P Thanks again! Timothy On Apr 23, 10:23 am, 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
