You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add instructions on howto easily use it on Windows
The easy way to build on Windows is to install libbotan package using MSYS2/MinGW and add some information to project.cabal.
MSYS2/MinGW64 is installed by GHCUP/GHC on Windows.
Here are the instructions (Paths might be different on your machine)
Install libbotan and dependencies in MSYS2. Start a MSYS2 shell by executing C:\ghcup\msys64\msys2.exe
or C:\ghcup\msys64\msys2_shell.cmd -msys
# If needed update the package database and ugrade all installed packages
pacman -Syu
pacman -Su
# Install libbotan and it's dependencies
pacman -S mingw-w64-x86_64-libbotan
Add the botan-low dependency to the projects cabal file
build-depends: base ^>=4.17.2.1
, botan-low
Add this to cabal.project so that the needed parts of the Botan C++ library can
be found when building.
# Add libbotan-3.dll location to Path for this session
# so that the executable can find the dll.
$env:Path += ";C:\ghcup\msys64\mingw64\bin"
cabal build
cabal run
The text was updated successfully, but these errors were encountered:
Add instructions on howto easily use it on Windows
The easy way to build on Windows is to install libbotan package using MSYS2/MinGW and add some information to project.cabal.
MSYS2/MinGW64 is installed by GHCUP/GHC on Windows.
Here are the instructions (Paths might be different on your machine)
Install libbotan and dependencies in MSYS2. Start a MSYS2 shell by executing C:\ghcup\msys64\msys2.exe
or C:\ghcup\msys64\msys2_shell.cmd -msys
Add the botan-low dependency to the projects cabal file
Add this to cabal.project so that the needed parts of the Botan C++ library can
be found when building.
Build and run from PowerShell
The text was updated successfully, but these errors were encountered: