On Mon, Oct 2, 2017 at 8:27 AM, Gautham B A <[email protected]> wrote: > I'm trying to do the same with v8 5.9.211 on Windows and I have some > problems. > I created a new Visual Studio 2015 project and added hello-world.cc as its > source. I setup the include and lib directories in project configuration and > it builds without any warnings/errors. > As suggested in the Getting Started with Embedding , I copied icudtl.dat, > natives_blob.bin and snapshot_blob.bin to the directory where the executable > resides. Screen shot - https://postimg.org/image/78agwcv2wb/ > > At runtime, it crashes at V8::InitializeICUDefaultLocation(argv[0]); - > https://github.com/v8/v8/blob/5.9.211/samples/hello-world.cc#L16 Screenshot > - https://postimg.org/image/4rmyjm700b/ > > Could you please help me? > > Thanks, > --Gautham
It depends on how V8 was built: it can be configured at compile time to load the ICU data from either icudtl.dat or icudt.dll. If you are unsure, set a breakpoint in `v8::internal::InitializeICUDefaultLocation()` in src/icu_util.cc and step through it. -- -- 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.
