The GNU command make
does not work out of the box on Windows.
Here are some steps you could take to get make
working on a Windows machine:
-
You probably already installed the Chocolatey package manager when installing Agda (check by running
choco
in terminal). If not, install it from here. -
You need to install the
make
command by runningchoco install make
-
The makefile runs the
runhaskell
command, which might not work on your system. Test this by running in terminalrunhaskell
If that doesn't work, create a file called
runhaskell.bat
with the contentsrunghc %*
and put this somewhere in your PATH.
-
Give your user account
Read & Execute
access toC:\Windows\System32\pthread.dll
-
Now, each time before you run
make
, run the following command in your terminal:chcp.com 65001
so that Haskell can parse UTF-8 characters.