Skip to content
Paul Melnikov edited this page Nov 13, 2024 · 1 revision

Building Windows BMDA inside codespaces/docker

For docker image, see https://github.com/msys2/msys2-docker (and issues with msys2 inside wine: https://github.com/msys2/MSYS2-packages/issues/682)

cd {repo_dir}
docker pull ghcr.io/msys2/msys2-docker-experimental
docker run -it --name msys -v `pwd`:/root/.wine/drive_c/msys64/home/root/work  ghcr.io/msys2/msys2-docker-experimental

Inside container:

pacman -S pactoys
pacboy -S toolchain:p meson:p headers:p  # agree to install all of "toolchain"
export COMSPEC=$SYSTEMROOT\\system32\\cmd.exe
cd work
meson setup build
meson compile -C build

in repo dir there will appear a file build/blackmagic.exe (and build/ftd2xx.dll) that is the main result of compilation

Clone this wiki locally