Re: [v8-users] Run v8 hello_world demo error

2013-11-11 Thread Dmitri S
On Mac 10.9 (Mavericks), I used the following to compile the hello_world example: clang++ -Iinclude -o hello_world out/x64.release/libv8_{base.x64,snapshot}.a out/x64.release/libicu{data,i18n,uc}.a hello_world.cpp Is it the the right / best way to do it? Would it be worth to add the Mac

Re: [v8-users] Run v8 hello_world demo error

2013-10-27 Thread Jochen Eisinger
You shouldn't link against the obj.host libraries. Also, if you link against the .a files, you need to link first against v8 and then against icu. best -jochen On Sun, Oct 27, 2013 at 2:39 AM, t...@ainfach.de t...@ainfach.de wrote: i have the same issue, i tryed to link against everything:

Re: [v8-users] Run v8 hello_world demo error

2013-10-27 Thread t...@ainfach.de
thanks a lot, this seems to work without any flags; cmake_minimum_required (VERSION 2.6) project (hello) add_executable (hello main.cpp) include_directories (/home/dev/proj/cpp/v8/include/ /usr/local/include) TARGET_LINK_LIBRARIES( hello

Re: [v8-users] Run v8 hello_world demo error

2013-10-27 Thread joko suwito
Thank you at your information. Pada 27 Okt 2013 19:17, t...@ainfach.de t...@ainfach.de menulis: thanks a lot, this seems to work without any flags; cmake_minimum_required (VERSION 2.6) project (hello) add_executable (hello main.cpp) include_directories (/home/dev/proj/cpp/v8/include/

Re: [v8-users] Run v8 hello_world demo error

2013-10-26 Thread t...@ainfach.de
i have the same issue, i tryed to link against everything: ARGET_LINK_LIBRARIES( hello /home/dev/proj/cpp/v8/out/x64.release/obj.host/third_party/icu/libicui18n.a /home/dev/proj/cpp/v8/out/x64.release/obj.host/third_party/icu/libicuuc.a

Re: [v8-users] Run v8 hello_world demo error

2013-10-23 Thread Spencer Killen
Thanks, I found it but I must be linking it wrong, how do you link it? -- -- 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

Re: [v8-users] Run v8 hello_world demo error

2013-10-22 Thread Spencer Killen
I have this identical problem except on windows how do I link the static libs in vs 2012 On Monday, May 20, 2013 4:14:27 AM UTC-6, Jakob Kummerow wrote: Looks like you've forgotten to link in libv8_base.a. -- -- v8-users mailing list v8-users@googlegroups.com

Re: [v8-users] Run v8 hello_world demo error

2013-10-22 Thread Spencer Killen
Actually I can find libv8_base.lib anywhere in my build, have I done something wrong? On Tuesday, October 22, 2013 10:00:16 AM UTC-6, Spencer Killen wrote: I have this identical problem except on windows how do I link the static libs in vs 2012 On Monday, May 20, 2013 4:14:27 AM UTC-6,

Re: [v8-users] Run v8 hello_world demo error

2013-10-19 Thread Gregory Hlavac
Did you reference ICU as well? -- -- 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

Re: [v8-users] Run v8 hello_world demo error

2013-10-19 Thread wangyu0248
after i recompile the v8 source code with `make x64.native i18nsupport=offwerror=no`, it works well! but i have no idea of what i18nsupport provided ... On Sunday, October 20, 2013 10:00:41 AM UTC+8, wangyu0248 wrote: i'm new to c++,after search google but still can't find how to

Re: [v8-users] Run v8 hello_world demo error

2013-10-19 Thread wangyu0248
after I recompile the v8 source code with `make x64.release i18nsupport=off werror=no`, it works well! but I have no idea of what i18nsupport provided ... On Sunday, October 20, 2013 10:00:41 AM UTC+8, wangyu0248 wrote: i'm new to c++,after search google but still can't find how to

Re: [v8-users] Run v8 hello_world demo error

2013-05-20 Thread Jakob Kummerow
Looks like you've forgotten to link in libv8_base.a. On Mon, May 20, 2013 at 7:49 AM, Crossle Song xming.s...@gmail.com wrote: $ gcc -Iinclude hello_world.cpp -o hello_world out/x64.release/obj.target/tools/gyp/libv8_snapshot.a -lpthread /tmp/ccmNdbH0.o: In function `main':

Re: [v8-users] Run v8 hello_world demo error

2013-05-20 Thread Crossle Song
thanks g++ -Iinclude hello_world.cpp -o hello_world out/x64.release/obj.target/tools/gyp/libv8_{base.x64,snapshot}.a -lpthread On Monday, May 20, 2013 6:14:27 PM UTC+8, Jakob Kummerow wrote: Looks like you've forgotten to link in libv8_base.a. On Mon, May 20, 2013 at 7:49 AM, Crossle

[v8-users] Run v8 hello_world demo error

2013-05-19 Thread Crossle Song
$ gcc -Iinclude hello_world.cpp -o hello_world out/x64.release/obj.target/tools/gyp/libv8_snapshot.a -lpthread /tmp/ccmNdbH0.o: In function `main': hello_world.cpp:(.text+0x1a): undefined reference to `v8::Isolate::GetCurrent()' hello_world.cpp:(.text+0x31): undefined reference to