I also had troubles with the build system. I found it's much easier to just 
use this Nuget package: https://github.com/pmed/v8-nuget.

On Wednesday, November 9, 2016 at 5:42:19 AM UTC-2, Ivan P. wrote:
>
> Hello, I am porting my app from V8 3.19 to V8 5.3.332.45.
> I have built new V8 version as DLL using Visual Studio 2013, updated code 
> of my app to use updated APIs  and now trying to perform full build of my 
> app.
> My app doesn't use GN to build it, it is normal Visual Studio 2013 
> project. I have specified v8.dll.lib as additional linker input.
>
> I get following linker error:
> 1>v8init.obj : error LNK2019: unresolved external symbol "class 
> v8::Platform * __cdecl v8::platform::CreateDefaultPlatform(int)" 
> (?CreateDefaultPlatform@platform@v8@@YAPEAVPlatform@2@H@Z) referenced in 
> function .... "
>
> I suppose v8::platform::CreateDefaultPlatform() must be present in 
> libplatform, but because the error happens, I can make conclusion that 
> libplatform it is not included into v8.dll.lib.
> I have examined V8 build outputs and couldn't find libplatform as separate 
> static lib or DLL: here is list of libs generated during the build, here is 
> what I have:
>
> icui18n.dll
> icuuc.dll
> msvcp120.dll
> msvcp120d.dll
> msvcr120.dll
> msvcr120d.dll
> pgort120.dll
> v8.dll
>
>
> cctest.lib
> generate-bytecode-expectations.lib
> icui18n.dll.lib
> icuuc.dll.lib
> mksnapshot.lib
> unittests.lib
> v8.dll.lib
> v8_parser_shell.lib
> v8_simple_json_fuzzer.lib
> v8_simple_parser_fuzzer.lib
> v8_simple_regexp_fuzzer.lib
> v8_simple_wasm_asmjs_fuzzer.lib
> v8_simple_wasm_fuzzer.lib
>
> Please advise - either how to tune build to have libplatform generated as 
> separate DLL or included to v8.dll ?
> Or is it safe to make manually libplatform from obj files and link it, 
> taking into account v8 is DLL?
>
> Thanks.
>
>

-- 
-- 
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