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/40d2b4e4-bc1c-4d52-b68f-5e208540f29b%40googlegroups.com.