Tweaks to Windows build instructions

This commit is contained in:
Damien Elmes 2023-11-20 11:59:08 +10:00
parent b248911b0f
commit f3d8618728
2 changed files with 12 additions and 6 deletions

View file

@ -205,7 +205,8 @@ If ANKI_PROFILE_CODE is set, Python profiling data will be written on exit.
Anki's official binary packages are created with `./ninja bundle`. The bundling Anki's official binary packages are created with `./ninja bundle`. The bundling
process was created specifically for the official builds, and is provided as-is; process was created specifically for the official builds, and is provided as-is;
we are unfortunately not able to provide assistance with any issues you may run we are unfortunately not able to provide assistance with any issues you may run
into when using it. into when using it. You'll need to run
`git submodule update --checkout qt/bundle/PyOxidizer` first.
## Mixing development and study ## Mixing development and study

View file

@ -6,14 +6,16 @@
You must be running 64 bit Windows 10, version 1703 or newer. You must be running 64 bit Windows 10, version 1703 or newer.
The build system previously required [Developer Mode](https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) to be enabled. This may no longer **Rustup**:
be the case.
As mentioned in development.md, rustup must be installed. If you're on
ARM Windows, you must set the default target to x86_64-pc-windows-msvc.
**Visual Studio**: **Visual Studio**:
Install Visual Studio from Microsoft. Once you've downloaded the installer, open Install Visual Studio Community Edition from Microsoft. Once you've downloaded
it, and select "Desktop Development with C++" on the left, leaving the options the installer, open it, and select "Desktop Development with C++" on the left,
shown on the right as is. leaving the options shown on the right as is.
**MSYS**: **MSYS**:
@ -25,6 +27,9 @@ After installation completes, run msys2, and run the following command:
$ pacman -S git rsync $ pacman -S git rsync
``` ```
Edit your PATH environmental variable and add c:\msys64\usr\bin to it, and
reboot.
If you have native Windows apps relying on Git, e.g. the PowerShell extension If you have native Windows apps relying on Git, e.g. the PowerShell extension
[posh-git](https://github.com/dahlbyk/posh-git), you may want to install [posh-git](https://github.com/dahlbyk/posh-git), you may want to install
[Git for Windows](https://gitforwindows.org/) and put it on the path instead, [Git for Windows](https://gitforwindows.org/) and put it on the path instead,