Thanks Louis.  Those instructions worked... Sorry for neglecting to say 
this in my initial post, but I need to compile in Visual Studio 2013 for 
Windows 8.1...  how would one go about producing a VS2013 "All.sln" file 
and all the associate .vcproj files?   I believe you implied that the 
instructions on the old "BuildingWithGYP" wiki page 
(https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP) are apparently 
out-of-date?  Thank you.  -Mark   


On Saturday, November 15, 2014 9:16:40 PM UTC-8, Louis P. Santillan wrote:
>
> That doc & that post are obsolete.  See shell.cc [0] for a simple 
> example on how to startup v8.  To compile v8 & your embedding: 
>
> mkdir myv8 
> cd myv8 
> nano hello.cc 
> git clone --depth 1 https://github.com/v8/v8.git v8 
> cd v8 
> make builddeps 
> make ia32.release # or x86_64.release 
> cd .. 
> # replace ia32 below with x86_64 if building 64-bit 
> g++ hello.cc \ 
> -Wl,--start-group \ 
> v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a \ 
> v8/out/ia32.release/obj.target/tools/gyp/libv8_libbase.a \ 
> v8/out/ia32.release/obj.target/tools/gyp/libv8_snapshot.a \ 
> v8/out/ia32.release/obj.target/tools/gyp/libv8_libplatform.a \ 
> -Wl,--end-group -lrt -lpthread \ 
> -o hello.exe 
>
> [0] https://github.com/v8/v8/blob/master/samples/shell.cc#L82 
>
>
>
> On Sat, Nov 15, 2014 at 8:04 PM, Mark Topinka <mtop...@gmail.com 
> <javascript:>> wrote: 
> > Hi V8 folks- 
> >     I'm looking forward to diving in to V8 and embedding it in a few of 
> my 
> > current projects, but I'm having a problem : I compiled the Hello World 
> > example (verbatim from https://developers.google.com/v8/get_started) 
> and ran 
> > it, but it crashes with exit code 3.  The crash happens in the first 
> line of 
> > the Hello World sample program, the Isolate* isolate = Isolate::New() 
> > call... 
> > 
> > 
> > int main(int argc, char* argv[]) { 
> >  // Create a new Isolate and make it the current one. 
> >  Isolate* isolate = Isolate::New(); 
> >  ... 
> > 
> > 
> >  and the actual crash occurs within isolate.cc, right at the beginning 
> of 
> > Isolate::Isolate in a CHECK() statement, (line 1655 of isolate.cc) 
> > 
> > 
> > { 
> >   { 
> >     base::LockGuard<base::Mutex> 
> > lock_guard(thread_data_table_mutex_.Pointer()); 
> >     CHECK(thread_data_table_); 
> >   } 
> >   ... 
> > 
> > 
> > I'm sure I must be doing something stupid, but I've double and triple 
> > checked all the instructions and can't find what it is.  I also tried 
> the 
> > suggestion from this post 
> > (
> https://groups.google.com/forum/#!searchin/v8-users/%22hello$20world%22/v8-users/TSjzwGYfBO0/3Ujwc7OGBBAJ
>  
> > "get_started hello_world is outdated."), but that didn't fix it either - 
> > same error in the same place.  Any help would be greatly appreciated, 
> > thanks! 
> > 
> > -Mark 
> > 
> > 
> > 
> > -- 
> > -- 
> > v8-users mailing list 
> > v8-u...@googlegroups.com <javascript:> 
> > 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 v8-users+u...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to