On Sun, Aug 2, 2015 at 10:06 PM, Jerrad Patch <[email protected]> wrote: > Hey all I followed the getting started tutorial here > > https://developers.google.com/v8/get_started?hl=en > > I downloaded the source and compiled it exactly like instructed, make > x64.release > > then I tried I copy pasted the given example (from getting started) to my > text editor and tried to compile it > > g++ -I. hello_world.cpp -o hello_world -Wl,--start-group > out/x64.release/obj.target/{tools/gyp/libv8_{base,libbase,snapshot,libplatform},third_party/icu/libicu{uc,i18n,data}}.a > -Wl,--end-group -lrt -pthread -std=c++0 > > here is the return > > g++: error: out/x64.release/obj.target/tools/gyp/libv8_snapshot.a: No such > file or directory > g++: error: unrecognized command line option ‘-std=c++0’ > > I go to the directory and this file does not exist. However , there are a > bunch of other libv8*.a files in there > > I am running "g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2". > > I would like to be able to compile a simple source to being playing with > this. My cpp is not awesome. can anyone be of assistance? thanks.
You have a copy/paste error in your command: "-std=c++0" should be "-std=c++0x". -- -- 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.
