Following some frustrations with dynamic linking to V8, I thought I'd try the static linked build.
My platform is VS2017, Windows 10.
My arguments to "gn" (via "v8gen") are as follows:
treat_warnings_as_errors=false
is_component_build=false
v8_enable_i18n_support=false
v8_use_snapshot=true
v8_monolithic=true
When I try to build V8, I get this error:
[exec] **********************************************************************
[exec] ** Visual Studio 2017 Developer Command Prompt v15.9.11
[exec] ** Copyright (c) 2017 Microsoft Corporation
[exec] **********************************************************************
[exec] [vcvarsall.bat] Environment initialized for: 'x64'
[exec] [1/1] Regenerating ninja files
[exec] FAILED: build.ninja
[exec] ../../buildtools/win/gn.exe --root=../.. -q --check gen .
[exec] ERROR at //BUILD.gn:3779:3: Assertion failed.
[exec] assert(!v8_use_external_startup_data)
[exec] ^-----
[exec] ninja: error: rebuilding 'build.ninja': subcommand failed
Is "v8_monolith" incompatible with "v8_use_snapshot"? How does one get around this problem?