this version is the latest version, not sure how to check that with the 
depot_tools program. I tried the help with fetch --help but it doesnt show 
--version. I have updated the archive to use *externap_snapshot.a, but I 
still get compile errors. I am using the x64.release, and the sample code 
from the getting started website. Does anyone have some working sample code 
I can compile with the latest version that "fetch v8" downloads. Thanks 
again for all the replies.

error I am getting

jerrad@ubuntu:/host/v8/v8$ g++ -I. hello_world.cpp -o hello_world 
-Wl,--start-group 
out/x64.release/obj.target/{tools/gyp/libv8_{base,libbase,external_snapshot,libplatform},third_party/icu/libicu{uc,i18n,data}}.a
 
-Wl,--end-group -lrt -pthread -std=c++0x

hello_world.cpp: In function ‘int main(int, char**)’:
hello_world.cpp:14:35: error: no matching function for call to 
‘v8::Isolate::New()’
   Isolate* isolate = Isolate::New();
                                   ^
hello_world.cpp:14:35: note: candidate is:
In file included from hello_world.cpp:1:0:
include/v8.h:5357:19: note: static v8::Isolate* v8::Isolate::New(const 
v8::Isolate::CreateParams&)
   static Isolate* New(const CreateParams& params);
                   ^
include/v8.h:5357:19: note:   candidate expects 1 argument, 0 provided


On Monday, August 3, 2015 at 4:02:30 AM UTC-4, Jakob Kummerow wrote:
>
> It appears that the file is now called libv8_external_snapshot.a. The 
> Getting-Started doc needs updating.
>
> On Mon, Aug 3, 2015 at 9:53 AM, Michael Hablich <hab...@chromium.org 
> <javascript:>> wrote:
>
>> Which V8 version are you trying to build? 4.3?
>>
>>
>> On Monday, August 3, 2015 at 1:34:52 AM UTC+2, Jerrad Patch wrote:
>>>
>>> Nope, that wasn't it. It seems that I am missing the archive file 
>>> *snapshot.a. It wasn't built during the make x64.release.
>>>
>>> I tried removing the snapshot archive but got compile errors for 
>>> hello_world.cpp
>>>
>>> the following 
>>> > 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 
>>>
>>> became
>>> > 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
>>> ,libplatform},third_party/icu/libicu{uc,i18n,data}}.a 
>>> > -Wl,--end-group -lrt -pthread -std=c++0x 
>>>
>>> I will try to use the a32.release and see if it builds correctly. Any 
>>> ideas why *snapshot.a wouldnt exist after a build?
>>>
>>>
>>> On Sunday, August 2, 2015 at 6:25:14 PM UTC-4, Ben Noordhuis wrote:
>>>>
>>>> On Sun, Aug 2, 2015 at 11:48 PM, Jerrad Patch <jerra...@gmail.com> 
>>>> wrote: 
>>>> > 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? 
>>>>
>>>> Quite possibly.  `find out/ -name \*.a` should find all the archive 
>>>> files, just update the paths accordingly. 
>>>>
>>> -- 
>> -- 
>> v8-users mailing list
>> v8-u...@googlegroups.com <javascript:>
>> 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+u...@googlegroups.com <javascript:>.
>> 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.

Reply via email to