Skip to content

Commit d877ba5

Browse files
author
Mitsutoshi Aoe
committed
README: Add instructions to install gtk2 (#76)
1 parent 9094798 commit d877ba5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,18 @@ Currently [pre-built binaries](https://github.com/haskell/ThreadScope/releases)
1212
* OS X
1313
* Windows (x64)
1414

15-
GTK+2 needs to be installed for those binaries to work. On OS X, `gtk-mac-integration` also needs to be installed.
15+
GTK+2 needs to be installed for those binaries to work.
16+
17+
On OS X, `gtk-mac-integration` also needs to be installed.
18+
```
19+
brew install gtk+ gtk-mac-integration
20+
```
21+
22+
On Windows, the [MSYS2](http://www.msys2.org) is the recommended way to install GTK+2. In MSYS2 MINGW64 shell:
23+
```
24+
pacman -S $MINGW_PACKAGE_PREFIX-gtk2
25+
```
26+
then you can run the threadscope binary from the shell.
1627

1728
## Building from source
1829

0 commit comments

Comments
 (0)