https://github.com/v8/v8/wiki/Getting%20Started%20with%20Embedding explains how to compile the sample
note that if you build all of v8, the hello world sample will be compiled automatically On Sun, Dec 25, 2016 at 8:39 PM <vertabso...@gmail.com> wrote: > Hello everyone, > > I am new to v8. I am trying to achieve something that should be easy, but > I just can't get it right. > > I have downloaded v8 via depot-tools and built it via make x64, and now I > am trying to compile the hello-world example which is given in the > "samples" folder. > What command am I supposed to type in ubuntu terminal for this to work, > please ? > > I have tried g++ hello-world.cc -o hello -I. but that fails with the > following error : > > In file included from hello-world.cc:9:0: > include/libplatform/libplatform.h:8:44: fatal error: > libplatform/libplatform-export.h: No such file or directory > compilation terminated. > > Thank you. > > -- > -- > 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. > -- -- 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.