From 2727bb558247d10a9fcc00dafdcfe69dff2653dd Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Fri, 14 Jul 2023 13:57:02 +0200 Subject: [PATCH] Docs for build on Windows with MSYS2 --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9025f40..802c53e 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,38 @@ Configure and run: - `$ make -j` -### Build documentation +# Installation - (x86_64) Windows (with WinPython), build with MSYS2 + +## Prerequisites + +- Download and install [WinPython](https://winpython.github.io) +- Download and install [MSYS2](https://msys2.org). Make sure to install the + x86_64 version. +- Download and install [Git for Windows](https://git-scm.com) + +- When unzipping WinPython, make sure to choose a proper and simple path, i.e. + C:\winpython +- Append C:\winpython\ to the PATH environment variable. +- Run Python and install Pybind11 + - `python -m pip install pybind11` + + +- Open a msys2 **MINGW64** terminal. And run: + + - `pacman -S git` + +- Then clone the LASP repo: + + - `git clone https://code.ascee.nl/ascee/lasp` + - `cd lasp` + +- Configure MSYS2 further, and run cmake: + + - `scripts/install_msys2_buiddeps.sh` + - `scripts/configur_cmake_msys2.sh` + + +# Documentation In directory: