Hey, Ben. Thanks for the reply. I have fixed that error
here is the command:
jerrad@ubuntu:/V8/v8$ 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++0x
here is the error: g++: error:
out/x64.release/obj.target/tools/gyp/libv8_snapshot.a: No such file or
directory
and if I go to the /V8/v8/out/x64.release/obj.target/tools/gyp directory
the file does not exist,
I did not receive any compilation errors when building V8, so I am
wondering if I should be using a different lib file in the */gyp folder?
On Sunday, August 2, 2015 at 5:16:32 PM UTC-4, Ben Noordhuis wrote:
>
> On Sun, Aug 2, 2015 at 10:06 PM, Jerrad Patch <[email protected]
> <javascript:>> 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.