mirror of
https://codeberg.org/anoncontributorxmr/mysu.git
synced 2024-11-25 17:02:28 +00:00
25 lines
927 B
Markdown
25 lines
927 B
Markdown
# 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:
|
|
|
|
1. Clone https://github.com/pokkst/monero repo.
|
|
|
|
2. Change repo to correct branch (example: `git checkout release-v0.18.1.1-mynero`).
|
|
|
|
3. Update submodules: `git submodule update --init --force`.
|
|
|
|
4. Then go to folder with monero-wallet repo, then external-libs. Here you need to create symbol link to `monero` folder:
|
|
|
|
Linux: `ln -s ~/monero ~/monero-wallet/external-libs/monero`
|
|
|
|
Windows: `mklink /D "C:\Users\<USERNAME>\monero-wallet\external-libs\monero" "C:\Users\<USERNAME>\monero"`
|
|
|
|
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.
|