Update README.md

This commit is contained in:
James 2019-01-07 12:21:11 +00:00 committed by GitHub
parent 8676bcdc01
commit 3d1b0f3774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,20 @@ Requires:
- [devkitPPC r31+](https://devkitpro.org/wiki/Getting_Started)
### Building on Windows
Use [WSL](https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then follow the Linux instructions.
If you are using devkitPro then you can build wut using the provided msys2 environment:
```
export PATH=$PATH:/opt/devkitpro/devkitPPC/bin
export DEVKITPPC=/opt/devkitpro/devkitPPC
pacman -S gcc cmake zlib-devel
git clone --recursive https://github.com/decaf-emu/wut.git
cd wut
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/wut ../
make install
export WUT_ROOT=/opt/wut
```
Or use [WSL](https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then follow the Linux instructions after preparing your environment.
For example, if you installed Ubuntu 18.04 then you might setup your environment like: