File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,24 @@ stack install --flag gtk:have-quartz-gtk
6969
7070### Windows
7171
72- stack is the recommended tool to build threadscope on Windows .
72+ [ Chocolatey ] ( https://chocolatey.org/ ) can be used to install GHC and [ MSYS2 ] ( https://www.msys2.org/ ) is the recommended way to install GTK+ .
7373
74- CAVEAT: Currently gtk2 needs to be installed twice: one for stack's MSYS2 environment and another for local MSYS2 environment.
74+ ``` sh
75+ choco install ghc
76+ refreshenv
77+ set PATH=C:\\ msys64\\ mingw64\\ bin; C:\\ msys64\\ usr\\ bin; %PATH%
78+ pacman -Sy mingw-w64-x86_64-gtk2
79+ ```
80+
81+ then you can build threadscope using cabal:
82+
83+ ``` sh
84+ cabal new-build
85+ ```
86+
87+ Or you can use stack instead.
88+
89+ CAVEAT: gtk2 needs to be installed twice: one for stack's MSYS2 environment and another for local MSYS2 environment.
7590
7691In command prompt:
7792``` sh
@@ -90,3 +105,5 @@ echo 'export PATH=$APPDATA/local/bin:$PATH' >> .profile
90105source .profile
91106threadscope
92107```
108+
109+ Building using stack is not tested in CI. If you find any issues with building with stack, please update the instructions and send a PR.
You can’t perform that action at this time.
0 commit comments