Thanks, I was wondering why I had to build v8 again when I'd already built it according to the intructions in step 1. By the way, I think step 5 needs to be updated as well. The command is unable to execute due to some missing files, which might have been moved out.
On Mon, Apr 3, 2017 at 6:09 PM, 'Peter Marshall' via v8-dev < [email protected]> wrote: > Hi Nikhil, > > Apologies, that page of the Wiki is a bit out of date. I'll update it soon > with the new steps. In the meantime, here's what I suggest: > > Use a newer version of V8 so that you can use the new build system, too > (GN). > > Instead of step 2 on that wiki page, do: > > git checkout -b 5.8 -t branch-heads/5.8 > tools/dev/v8gen.py x64.release > ninja -C out.gn/x64.release > > That should at least get V8 to build for you. > > On Monday, April 3, 2017 at 12:09:29 PM UTC+2, Nikhil Shagrithaya wrote: >> >> Hi, >> I'm trying to run the example in the wiki here: >> https://github.com/v8/v8/wiki/Getting%20Started%20with%20Embedding, but >> I'm stuck at the third step, which asks to run the make x64.release >> command. I'm getting this error: >> >> make[1]: Entering directory '/home/nikhil/workspace/google/v8/out' >> TOUCH src_inspector_inspector_gyp_protocol_generated_sources_targe >> t_protocol_generated_sources.intermediate >> ACTION Generating inspector protocol sources from protocol json >> src_inspector_inspector_gyp_protocol_generated_sources_targe >> t_protocol_generated_sources.intermediate >> CXX(target) /home/nikhil/workspace/google/ >> v8/out/x64.release/obj.target/v8_libbase/src/base/bits.o >> In file included from ../src/base/bits.cc:5: >> In file included from .././src/base/bits.h:10: >> In file included from .././src/base/base-export.h:8: >> .././include/v8config.h:16:11: fatal error: 'features.h' file not found >> # include <features.h> >> ^~~~~~~~~~~~ >> 1 error generated. >> src/v8_libbase.target.x64.release.mk:204: recipe for target >> '/home/nikhil/workspace/google/v8/out/x64.release/obj.target/v8_libbase/src/base/bits.o' >> failed >> make[1]: *** >> [/home/nikhil/workspace/google/v8/out/x64.release/obj.target/v8_libbase/src/base/bits.o] >> Error 1 >> rm src_inspector_inspector_gyp_protocol_generated_sources_targe >> t_protocol_generated_sources.intermediate >> make[1]: Leaving directory '/home/nikhil/workspace/google/v8/out' >> Makefile:319: recipe for target 'x64.release' failed >> make: *** [x64.release] Error 2 >> >> Could anyone help me solve this? >> >> Thanks, >> Nikhil. >> >> -- > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" 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. > -- Nikhil Shagrithaya BTech. Pre Final Year, Computer and Communications Engineering LNMIIT Jaipur Ph No:9930929954 -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" 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.
