I would like to build a static, monolithic library suitable for embedding via MinGW. This is a multiplatform project and I want to avoid switching my entire toolchain over to MSVC. All answers on StackOverflow, Google Groups and the v8 wiki refer to SCons, GYP or MinGW build generation files that no longer exist. I have:
- Followed the instructions here to install depot_tools and fetch v8.
- Added
[User Directory]\depot_tools
to the front of my PATH variable. - Set
DEPOT_TOOLS_WIN_TOOLCHAIN=0
in my environment variables.
Instructions here suggest bypassing the manual workflow by outputting build files yourself. When I run gn args out/mingw
I get a python stack trace ending with:
Exception: No supported Visual Studio can be found. Supported versions are: 16.0 (2019), 17.0 (2022), 15.0 (2017).
ERROR at //build/config/win/visual_studio_version.gni:27:7: Script returned non-zero exit code.
exec_script("../../vs_toolchain.py", [ "get_toolchain_dir" ], "scope")
^----------