I compiled it in VS 2013 and I got a lot of warnings. I tried build hello 
world program from https://developers.google.com/v8/get_started in VS 2013 
and it crashes with Access violation error: http://i.imgur.com/ohBpbLY.png 
http://i.imgur.com/qvJUMmT.png

Here are warnings produced while building:
E:\(...)\v8-new\v8>msbuild /p:Configuration=Release /p:Platform
=Win32 tools\gyp\v8.sln

Build succeeded.

"E:\(...)\v8-new\v8\tools\gyp\v8.sln" (default target) (1) ->
"E:\(...)\v8-new\v8\third_party\icu\icui18n.vcxproj" (default
target) (3) ->
(ClCompile target) ->
  source\i18n\collationfastlatinbuilder.cpp(627): warning C4244: 
'initializing'
 : conversion from 'int64_t' to 'int32_t', possible loss of data [E:\STUDIA\
Pra
ca_dyplomowa\v8-new\v8\third_party\icu\icui18n.vcxproj]
  source\i18n\filteredbrk.cpp(237): warning C4244: '=' : conversion from 
'int64
_t' to 'int32_t', possible loss of data [E:\(...)\v8-new\v8\th
ird_party\icu\icui18n.vcxproj]
  source\i18n\filteredbrk.cpp(246): warning C4244: '=' : conversion from 
'int64
_t' to 'int32_t', possible loss of data [E:\(...)\v8-new\v8\th
ird_party\icu\icui18n.vcxproj]


"E:\(...)\v8-new\v8\tools\gyp\v8.sln" (default target) (1) ->
"E:\(...)\v8-new\v8\tools\gyp\..\..\third_party\icu\icuuc.vcxp
roj.metaproj" (default target) (10) ->
"E:\(...)\v8-new\v8\third_party\icu\icuuc.vcxproj" (default ta
rget) (11) ->
  source\common\dictbe.cpp(73): warning C4244: '=' : conversion from 
'int64_t'
to 'int32_t', possible loss of data [E:\(...)\v8-new\v8\third_
party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(79): warning C4244: '=' : conversion from 
'int64_t'
to 'int32_t', possible loss of data [E:\(...)\v8-new\v8\third_
party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(338): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(340): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(393): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(395): warning C4244: '+=' : conversion from 
'int64_t
' to 'int32_t', possible loss of data [E:\(...)\v8-new\v8\thir
d_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(407): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(409): warning C4244: '+=' : conversion from 
'int64_t
' to 'int32_t', possible loss of data [E:\(...)\v8-new\v8\thir
d_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(571): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(573): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(764): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(766): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(970): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(972): warning C4244: 'initializing' : conversion 
fro
m 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-n
ew\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(1169): warning C4244: '=' : conversion from 
'int64_t
' to 'int32_t', possible loss of data [E:\(...)\v8-new\v8\thir
d_party\icu\icuuc.vcxproj]
  source\common\dictbe.cpp(1174): warning C4244: 'initializing' : 
conversion fr
om 'int64_t' to 'int32_t', possible loss of data [E:\(...)\v8-
new\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictionarydata.cpp(48): warning C4244: 'initializing' : 
convers
ion from 'int64_t' to 'int32_t', possible loss of data [E:\STUDIA\
Praca_dyplomo
wa\v8-new\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictionarydata.cpp(54): warning C4244: 'initializing' : 
convers
ion from 'int64_t' to 'int32_t', possible loss of data [E:\STUDIA\
Praca_dyplomo
wa\v8-new\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictionarydata.cpp(115): warning C4244: 'initializing' : 
conver
sion from 'int64_t' to 'int32_t', possible loss of data [E:\STUDIA\
Praca_dyplom
owa\v8-new\v8\third_party\icu\icuuc.vcxproj]
  source\common\dictionarydata.cpp(121): warning C4244: 'initializing' : 
conver
sion from 'int64_t' to 'int32_t', possible loss of data [E:\STUDIA\
Praca_dyplom
owa\v8-new\v8\third_party\icu\icuuc.vcxproj]
  source\common\rbbi.cpp(718): warning C4244: '=' : conversion from 
'int64_t' t
o 'int32_t', possible loss of data [E:\(...)\v8-new\v8\third_p
arty\icu\icuuc.vcxproj]
  source\common\rbbi.cpp(829): warning C4244: '=' : conversion from 
'int64_t' t
o 'int32_t', possible loss of data [E:\(...)\v8-new\v8\third_p
arty\icu\icuuc.vcxproj]

    25 Warning(s)
    0 Error(s)



W dniu niedziela, 14 czerwca 2015 23:29:34 UTC+2 użytkownik Ben Noordhuis 
napisał:
>
> On Sun, Jun 14, 2015 at 10:50 PM, treck <[email protected] <javascript:>> 
> wrote: 
> > Thanks, it was problem with version of my Python. 
> > I tried compile it using my Visual Studio 2012 and it failed so I used 
> MinGW 
> > to compile v8 but it failed too... i get such error (i replaced some 
> parts 
> > of paths with (...) ) : 
> > $ make ia32.release -j8 
> > 
> PYTHONPATH="/e/(...)/v8/tools/generate_shim_headers:/e/(...)/v8/build::/e/(...)/v8/build
>  
>
> > /gyp/pylib:" \ 
> >         GYP_GENERATORS=make \ 
> >         build/gyp/gyp --generator-output="out" build/all.gyp \ 
> >                       -Ibuild/standalone.gypi --depth=. \ 
> >                       -Dv8_target_arch=ia32 \ 
> >                        \ 
> >                        \ 
> >                       -S.ia32.release  -Dv8_enable_backtrace=1 
> > -Darm_fpu=default 
> >  -Darm_float_abi=default 
> > make[1]: Entering directory `/e/(...)/v8/out' 
> > make[1]: *** No rule to make target `../tools\parser-shell.gyp', needed 
> by 
> > `Make 
> > file.ia32.release'.  Stop. 
> > make[1]: Leaving directory `/e/(...)/v8/out' 
> > make: *** [ia32.release] Error 2 
>
> You need VS 2013, V8 is a C++11 project.  VS 2015 should work as well, 
> I think, but MinGW is not supported. 
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to