mysu/doc/BUILDING-external-libs.md

26 lines
927 B
Markdown
Raw Normal View History

2022-09-07 21:31:20 +02:00
# External lib build
## Requirements:
1. Docker
2. `make` (sudo apt install make, little tricky to get it on Windows, https://stackoverflow.com/questions/32127524/how-to-install-and-use-make-in-windows)
3. Huge amount of RAM and free disk space
## Building:
2022-09-22 13:21:48 +02:00
1. Clone https://github.com/pokkst/monero repo.
2022-09-07 21:31:20 +02:00
2022-09-22 13:21:48 +02:00
2. Change repo to correct branch (example: `git checkout release-v0.18.1.0-mynero`).
2022-09-07 21:31:20 +02:00
3. Update submodules: `git submodule update --init --force`.
2022-09-22 13:21:48 +02:00
4. Then go to folder with monero-wallet repo, then external-libs. Here you need to create symbol link to `monero` folder:
2022-09-07 21:31:20 +02:00
2022-09-22 13:21:48 +02:00
Linux: `ln -s ~/monero ~/monero-wallet/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 `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.