From c5f87d6d551876bf09e4df37cdc9c832480748bc Mon Sep 17 00:00:00 2001 From: Erik Abair Date: Thu, 9 Jun 2022 07:28:59 -0700 Subject: [PATCH] Add some tips to the Windows build section Attempting to cover the most common issues raised on Discord. --- docs/docs/dev/building-from-source.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/docs/dev/building-from-source.md b/docs/docs/dev/building-from-source.md index 3e616b7d..b249b591 100644 --- a/docs/docs/dev/building-from-source.md +++ b/docs/docs/dev/building-from-source.md @@ -19,6 +19,13 @@ docker run -u $(id -u):$(id -g) --rm -v $PWD/xemu:/xemu -w /xemu \ ./xemu/dist/xemu.exe ``` +### Tips + +* The `docker run` command must be done from the directory containing the `xemu` clone, not from inside the clone. If running +`ls -d xemu` does not print "xemu" you will need to change directories. + +* When building on Windows via WSL2, doing the `git clone` from inside WSL2 may substantially increase the build speed. + ## macOS First install the [Homebrew package manager](https://brew.sh/).