Skip to content

Building on Windows ‐‐ Prerequisites

Matt Young edited this page May 20, 2024 · 1 revision

The supported way to build on Windows is using MSYS2 in the MSYS2 MINGW64 environment. This is one of, typically, four different environments available to you after installing MSYS2. You need to run the build script from the "MSYS2 MinGW 64-bit" shell, and not one of the other ones. (As of 2024-01, we no longer support 32-bit builds because some libraries we rely on are no longer available as 32-bit MSYS2 packages.)

In MSYS2 terminal run:

pacman -S mingw-w64-x86_64-python mingw-w64-x86_64-python-pip

if [[ ! -f $(dirname $(which python))/python3 ]]; then ln -s $(which python) $(dirname $(which python))/python3; fi

export PYTHONIOENCODING=utf8

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
python -m pip install -U --force-reinstall pip
rm get-pip.py

You should now be able to run the bt script.

Clone this wiki locally