Skip to content

Commit b1975c5

Browse files
committed
fix: macos installation steps
1 parent 576d240 commit b1975c5

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

examples/doom/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,24 @@ cargo run --release --no-default-features
1414

1515
## Running on macOS
1616

17+
Install the correct target:
18+
19+
```bash
20+
rustup target add x86_64-apple-darwin
21+
```
22+
23+
Install `SDL` dependencies:
24+
25+
```bash
26+
brew install SDL2
27+
brew install SDL2_ttf
28+
brew install SDL2_image
1729
```
18-
LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" POLKAVM_ALLOW_INSECURE=1 POLKAVM_SANDBOX=generic POLKAVM_BACKEND=compiler cargo run --target=x86_64-apple-darwin --release
30+
31+
Run the game:
32+
33+
```bash
34+
cargo run --target=x86_64-apple-darwin --release
1935
```
2036

2137
## Running on other operating systems

0 commit comments

Comments
 (0)