By installing a python package it has been solved. python -m pip install 
pywin32

I just make visual studio solution file by 'call gn gen --ide=vs2019 
out.gn/x86.release --args="is_clang=false is_debug=false use_glib=false 
is_component_build=true v8_use_external_startup_data=true 
v8_static_library=false v8_enable_i18n_support=false target_cpu=\"x86\""'
On visual studio I try to build whole solution, but too many link error 
occurs. I don't know why it happens. 

9401 errors
Severity Code Description Project File Line Suppression State
Error LNK2019 "class v8::internal::Isolate * __cdecl 
v8::internal::IsolateFromNeverReadOnlySpaceObject(unsigned int)" 
(?IsolateFromNeverReadOnlySpaceObject@internal@v8@@YAPAVIsolate@12@I@Z) 외부 
기호(참조 위치: "public: class v8::Local<class v8::Value> __thiscall 
v8::Context::GetEmbedderData(int)" 
(?GetEmbedderData@Context@v8@@QAE?AV?$Local@VValue@v8@@@2@H@Z) 함수)에서 확인하지 
못했습니다. bytecode_builtins_list_generator 
C:\v8\v8\out.gn\x86.release\obj\generate-bytecodes-builtins-list.obj 1 



2020년 3월 3일 화요일 오후 5시 22분 54초 UTC+9, chopeace 님의 말:
>
> I'm trying to build V8 for embedding its dll files on my win32 C++ 
> application. The build was successful with build command right below. 
> However, when I try to link v8 and its dependency dll files with my test 
> c++ project(Visual Studio 2019, Windows 10), link error occurs all the time.
>
> * working
> call gn gen --ide=vs2019 out.gn/x86.release --args="is_clang=true 
> is_debug=false use_glib=false is_component_build=true 
> v8_use_external_startup_data=true v8_static_library=false 
> v8_enable_i18n_support=false target_cpu=\"x86\""
> call ninja.exe -C out.gn/x86.release  v8.dll.lib
>
>
> So I changed one of build options(is_clang=true to false) to link 
> successfully, and now build process failed with this error
>
> "FAILED: obj/build/config/sanitizers/options_sources.lib
> C:/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe 
> ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x86 
> False lib.exe /nologo /ignore:4221 
> /OUT:obj/build/config/sanitizers/options_sources.lib 
> @obj/build/config/sanitizers/options_sources.lib.rsp
> Traceback (most recent call last):
>   File "../../build/toolchain/win/tool_wrapper.py", line 51, in <module>
>     import win32file    # pylint: disable=import-error
> ImportError: No module named win32file"
>
> * not working 
> call gn gen --ide=vs2019 out.gn/x86.release --args="is_clang=false 
> is_debug=false use_glib=false is_component_build=true 
> v8_use_external_startup_data=true v8_static_library=false 
> v8_enable_i18n_support=false target_cpu=\"x86\""
> call ninja.exe -C out.gn/x86.release  v8.dll.lib
>
>
> Any idea to solve this issue?
>
>
>

-- 
-- 
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/f1baec7c-3972-4170-8074-7dd1089ffc3b%40googlegroups.com.

Reply via email to