Skip to content

Commit f9f0fbc

Browse files
committed
Clarify build instructions for windows
1 parent 7bf8c1c commit f9f0fbc

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,23 @@ A thin wrapper around the Hades - Yuzu Shader Recompiler, which allows to recomp
55

66
## Installation & Usage
77

8-
This was only tested on Linux. Needs a system-wide Boost installation.
8+
Building requires a GCC compiler, even on windows.
99

10-
Install with:
10+
On linux you can install with:
1111

1212
```bash
13-
sudo apt install libboost-dev
13+
git clone https://github.com/DCNick3/shader-compiler-rs
14+
cd shader-compiler-rs
15+
cargo install --path cli
16+
```
17+
18+
On windows you need to get mingw-w64's GCC compiler. Then, in an environment with `gcc` available, you can build it with:
1419

20+
```bash
1521
git clone https://github.com/DCNick3/shader-compiler-rs
1622
cd shader-compiler-rs
23+
export CC=gcc
24+
export CXX=g++
1725
cargo install --path cli
1826
```
1927

0 commit comments

Comments
 (0)