Can confirm this. I've tried to build in msvs2013 on virtual machine - same results with error linking v8_base_0.lib
среда, 24 августа 2016 г., 7:19:12 UTC+3 пользователь Philippe Ferdinand написал: > > I do have the exact same issue, it seems to be related to the visual > studio sharing of the library to keep the lib files under 2GB (see this > commit > <https://chromium.googlesource.com/v8/v8/+/addbe75e199eb28d8255f83bce75852ea1b17943> > ). > For reference here is my build script: > > SET DEPOT_TOOLS_WIN_TOOLCHAIN=0 > mkdir depot_tools > cd depot_tools > curl -O https://storage.googleapis.com/chrome-infra/depot_tools.zip > cmake -E tar xf "depot_tools.zip" --format=zip > SET PATH=%CD%;%CD%\python276_bin;%PATH% > cd .. > gclient config https://chromium.googlesource.com/v8/v8 > set GYP_MSVS_VERSION=2015 > set GYP_GENERATORS=msvs > gclient sync > cd v8 > python gypfiles\gyp_v8 -Dtarget_arch=x64 -Dcomponent=shared_library > devenv /build Release gypfiles\all.sln > > I end up with this: > > 30>LINK : fatal error LNK1181: cannot open input file 'Y:\Sources\ > git.corp.adobe.com > \Horizon\build\win64\lib-v8\v8\build\Release\lib\v8_base_0.lib' > 41>------ Build started: Project: All, Configuration: Release x64 ------ > ========== Build: 21 succeeded, 20 failed, 0 up-to-date, 0 skipped > ========== > > I've tried to set "msvs_shard=0" in GYP_DEFINES without success > (suggestion taken from this post > <https://groups.google.com/forum/#!searchin/v8-users/windows$20build%7Csort:relevance/v8-users/jI_Xr37PGjY/nR1Nm7ByY3IJ> > ). > > On Tuesday, August 23, 2016 at 11:54:09 PM UTC-4, Илья Королевский wrote: >> >> Hello. I'm trying to build libraries for my c++ projects. What I've >> already did: >> Downloaded latest depot_tools. >> cd C:\depot_tools >> fetch v8 >> cd v8 >> set DEPOT_TOOLS_WIN_TOOLCHAIN=0 >> set GYP_MSVS_VERSION=2013 >> set GYP_GENERATORS=msvs >> gclient sync >> python gypfiles\gyp_v8 >> It gives me ,SLN files in *v8/gypfiles* >> When I try to compile it fails with much errors like *cmd.exe exited >> with code 127; link error v8_base_0.lib* etc >> I tried to compile with ninja: >> ninja -C out/Release >> But no lib files ( such as v8.lib, v8_libplatform) >> > -- -- 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.
