On Fri, Oct 2, 2015 at 8:28 AM, Jane Chen <[email protected]> wrote: > Trying to migrate to latest v8. > > Looks like I need to initialize v8 with: > > v8::Platform* platform = v8::platform::CreateDefaultPlatform(); > v8::V8::InitializePlatform(platform); > > but CreateDefaultPlatform is not in libv8.so. > > So how is it supposed to work? > > Thanks in advance.
You need to link in libv8_libplatform.a as well. If you use gyp: 'dependencies': ['path/to/v8/tools/gyp/v8.gyp:v8_libplatform'], 'include_dirs': ['path/to/v8'], # for include/v8-platform.h -- -- 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.
