element-desktop/docs/windows-requirements.md
renovate[bot] 3bfe26a1f8
Update dependency prettier to v3 (#1405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 18:12:16 +00:00

1.6 KiB

Windows

Requirements to build native modules

We rely on Github Actions windows-latest plus a few extra utilities as per the workflow.

If you want to build native modules, make sure that the following tools are installed on your system.

Once installed make sure all those utilities are accessible in your PATH.

If you want to be able to build x86 targets from an x64 host install the right toolchain:

rustup toolchain install stable-i686-pc-windows-msvc
rustup target add i686-pc-windows-msvc

In order to load all the C++ utilities installed by Visual Studio you can run the following in a terminal window.

call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64

You can replace amd64 with x86 depending on your CPU architecture.