I have sample code and couldn't compile
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <include/v8.h>
int main(int argc, char* argv[]) {
v8::V8::Initialize();
return 0;
}
g++ -std=c++11 -I. -Iinclude hello-world.cc -o hello_world
out.gn/x64.release/obj/libv8_libbase.a -lpthread
ERROR:
/tmp/ccrVU4Jg.o: In function `main':
hello-world.cc:(.text+0x10): undefined reference to `v8::V8::Initialize()'
collect2: error: ld returned 1 exit status
--
--
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.