Hi All,

I am in the process of building the V8 source code of version 12.3.220 on 
windows mainly.

I used the following GN arguments.

is_debug = true
v8_enable_i18n_support = true
is_component_build = true
symbol_level = 1
v8_enable_object_print = true
v8_use_external_startup_data = true

The build generated the v8 dlls and libraries 
Among then one of the library named v8_libplatform.lib has been used in our 
programs as a static library. 

While building our code, we see lot of linker errors. like below.
Error LNK2001 unresolved external symbol "__declspec(dllimport) class 
std::unique_ptr<class v8::Platform,struct std::default_delete<class 
v8::Platform> > __cdecl v8::platform::NewDefaultPlatform(int,enum 
v8::platform::IdleTaskSupport,enum 
v8::platform::InProcessStackDumping,class std::unique_ptr<class 
v8::TracingController,struct std::default_delete<class 
v8::TracingController> >,enum v8::platform::PriorityMode)" 
(__imp_?NewDefaultPlatform@platform@v8@@YA?AV?$unique_ptr@VPlatform@v8@@U?$default_delete@VPlatform@v8@@@std@@@std@@HW4IdleTaskSupport@12@W4InProcessStackDumping@12@V?$unique_ptr@VTracingController@v8@@U?$default_delete@VTracingController@v8@@@std@@@4@W4PriorityMode@12@@Z)
 
jsinterpreter 
c:\Code71\docplatform\code\interpreters\jsinterpreter\jsscripthandler.obj 1 

Can someone please help me solve these errors?

I tried to use different combinations of gn arguments but ended up with 
same sized library file which is giving linker errors when used in our code.

Kindly help providing the suitable GN arguments that generates perfect 
library files.

My main requirement is to generate the v8.dll, v8.lib,v8_libbase.dll, 
v8_libbase.lib, v8_libplatform.dll and v8_libplatform.lib files.

Thanks in advance.

Best regards,
rvoliveti

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/18ea3b2a-cecb-4438-8d8a-e160427a7433n%40googlegroups.com.

Reply via email to