c++ - v8::Isolate::New null access violation -
i'm using v8 32-bit version 4.10.253 compiled visual studio 2015.
i'm trying run example google has at: chrome v8 - getting started
but when try run it, get:
exception thrown @ 0x00000000 in v8test.exe: 0xc0000005: access violation executing location 0x00000000.
i when following executed:
isolate* isolate = isolate::new(create_params);
my project settings:
to project compile in debug, set runtime library to:
multi-threaded debug /mtd.
i include v8 include directory under additional include directories.
lastly, include following libraries:
icuuc.lib icui18n.lib v8_libplatform.lib v8_external_snapshot.lib v8_base_3.lib v8_base_2.lib v8_base_1.lib v8_base_0.lib v8_libbase.lib winmm.lib
anyone know i'm doing wrong? in advance.
ok, feel stupid. didn't finish reading rest of tutorial. must copy .bin files executable stored. specifically:
natives_blob.bin snapshot_blob.bin
v8 crash @ isolate::new if not.
Comments
Post a Comment