mysu/doc/BUILDING-external-libs.md

27 lines
1.1 KiB
Markdown
Raw Normal View History

2022-09-07 21:31:20 +02:00
# External lib build
## Requirements:
1. Docker
2. `sudo apt install make automake libtinfo5`
2022-09-07 21:31:20 +02:00
3. Huge amount of RAM and free disk space
## Building:
1. Clone the Monero repo required for this app to function. A specific fork for UTXO management is hosted here: http://4hsesnr6mjb4qrflgf5gezjaszzoqnnisin7ywzbsv6pgcxysiaq.b32.i2p/pokkst/monero.git
2023-08-03 18:13:39 +02:00
Clone a specific branch, and shorten I2P download time with `git clone -b release-v0.18.2.2-mysu --single-branch --depth 1 http://4hsesnr6mjb4qrflgf5gezjaszzoqnnisin7ywzbsv6pgcxysiaq.b32.i2p/pokkst/monero.git`
2022-09-07 21:31:20 +02:00
2023-04-26 17:03:17 +02:00
2. Change current directory to the monero repo: `cd monero`
2022-09-07 21:31:20 +02:00
2023-04-26 17:03:17 +02:00
3. Update submodules: `git submodule update --init --force`.
2022-09-07 21:31:20 +02:00
2023-04-26 17:03:17 +02:00
4. Then go into the mynero repo folder, then external-libs. Here you need to create symbol link to `monero` folder:
Linux: `ln -s ~/monero ~/mynero/external-libs/monero`
2022-09-07 21:31:20 +02:00
2022-09-22 13:21:48 +02:00
Windows: `mklink /D "C:\Users\<USERNAME>\monero-wallet\external-libs\monero" "C:\Users\<USERNAME>\monero"`
2022-09-07 21:31:20 +02:00
5. Start Docker and then run `sudo make` in `external-libs` folder. It will fail at end on Windows, but if `wallet2_api.h` exists in `include` folder, the build was successful.