How do I use the Google V8 Engine in a different c++ Project?
<p>If I import the <code>.lib</code> and <code>.h</code> files in the Google V8 Engine, it will attempt to use them in a different c ++ project.</p>

<p>Do I need to import a file of any name?</p>

<p>When the source of the <code>v8</code> was compile and build, </p>

<ul>
<li>cctest</li>
<li>fuzzer_support</li>
<li>generate-bytecode-expectations</li>
<li>gmock</li>
<li>gtest</li>
<li>icui18n</li>
<li>icuuc</li>
<li>inspector_protocol</li>
<li>json_fuzzer_lib</li>
<li>mksnapshot</li>
<li>parser_fuzzer_lib</li>
<li>regexp_fuzzer_lib</li>
<li>unittests</li>
<li>v8</li>
<li>v8_base_0</li>
<li>v8_base_1</li>
<li>v8_base_2</li>
<li>v8_base_3</li>
<li>v8_external_snapshot</li>
<li>v8_libbase</li>
<li>v8_libplatform</li>
<li>v8_libsampler</li>
<li>v8_nosnapshot</li>
<li>v8_simple_json_fuzzer</li>
<li>v8_simple_parser_fuzzer</li>
<li>v8_simple_regexp_fuzzer</li>
<li>v8_simple_wasm_asmjs_fuzzer</li>
<li>v8_simple_wasm_fuzzer</li>
<li>wasm_fuzzer_lib</li>
<li>wasm_asmjs_fuzzer_lib </li>
</ul>

<p>name file is generated.</p>

<p>I simply use the <code>v8</code>, and it outputs a run value of <code>javascript</code>.</p>

<p>My guess, seems to use only "<code>v8.lib</code>, <code>v8_base (0,1,2,3) .lib</code>" and "<code>v8.h</code>".</p>

<p>Is the sample code in a new c ++ project by copying the contents of the "<code>hello-world.cc</code>", made a cpp file. And I run, "<code>LNK2019</code>", "<code>LNK1120</code>" error occurs.</p>

<blockquote>
  <p>1>----- Build started: Project: v8Application, Configuration: Debug Win32 -----<br>
  1>  v8Application.cpp<br>
  1>v8Application.obj : error LNK2019: unresolved external symbol _main referenced in function"class v8::Platform * __cdecl v8::platform::CreateDefaultPlatform(int)" (?CreateDefaultPlatform@platform@v8@@YAPAVPlatform@2@H@Z) 1>c:\users\kito\documents\visual studio 2015\Projects\v8Application\Debug\v8Application.exe : fatal error LNK1120: 1 unresolved externals<br>
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</p>
</blockquote>

<p>It seems must not defined "platform :: CreateDefaultPlatform" part is turned only in 'libplatform.h' declaration.
However, I would add "src \ libplatform \ default-platform.cc" the platform :: CreateDefaultPlatform has been defined, other error occurs in the add.</p>

<p>"<code>Ws2_32.lib</code>, <code>winmm.lib</code>" was also added to the project of the Additional Dependencies property.</p>

<p>How do I do this?</p>