From de0d821c8a0689d5ad980ac3760cd91f51bcf6fe Mon Sep 17 00:00:00 2001 From: Likho Date: Mon, 10 Jul 2023 18:41:26 +0200 Subject: [PATCH 1/2] Remove trailing comma from ios headers --- crypto_plugins/flutter_libepiccash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto_plugins/flutter_libepiccash b/crypto_plugins/flutter_libepiccash index e1df08873..cd12741de 160000 --- a/crypto_plugins/flutter_libepiccash +++ b/crypto_plugins/flutter_libepiccash @@ -1 +1 @@ -Subproject commit e1df088733695ad06d377087d069eae1746d55a7 +Subproject commit cd12741de19e4faef39a23b7d543a2452524990a From 51cc5654f6cbf18e7914ae3b33a6d2a3971371eb Mon Sep 17 00:00:00 2001 From: Josh Babb Date: Tue, 11 Jul 2023 15:50:08 -0500 Subject: [PATCH 2/2] update windows build docs more --- docs/building.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/building.md b/docs/building.md index 63d67278a..b56a87899 100644 --- a/docs/building.md +++ b/docs/building.md @@ -134,10 +134,28 @@ flutter run linux Visual Studio is required for Windows development with the Flutter SDK. Download it at https://visualstudio.microsoft.com/downloads/ and install the "Desktop development with C++" workload, including all of its default components. ### Building libraries in WSL2 -Set up Ubuntu 20.04 in WSL2. Follow the entire Linux host section to get set up and build windows `dll` libraries. Copy the resulting `dll`s to their respective positions on the Windows host: +Set up Ubuntu 20.04 in WSL2. Follow the entire Linux host section in the WSL2 Ubuntu 20.04 host to get set up to build. You will also need to install Rust and MXE dependencies on the WSL2 Ubuntu 20.04 host: + - [Install Rust](https://rustup.rs/) + ```sh + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + ``` + - Install MXE by running `stack_wallet/scripts/windows/deps.sh` + ```sh + ./stack_wallet/scripts/windows/deps.sh + ``` + +The WSL2 host may optionally be navigated to the `stack_wallet` repository on the Windows host in order to build the plugins in-place and skip the next section in which you copy the `dll`s from WSL2 to Windows. Then build windows `dll` libraries by running the following script on the WSL2 Ubuntu 20.04 host: + +- `stack_wallet/scripts/windows/build_all.sh` + +Copy the resulting `dll`s to their respective positions on the Windows host: - `stack_wallet/crypto_plugins/flutter_libepiccash/scripts/windows/build/libepic_cash_wallet.dll` - `stack_wallet/crypto_plugins/flutter_liblelantus/scripts/windows/build/libmobileliblelantus.dll` + ### Install Flutter on Windows host