This pull request is intended to close #14699
I never built for Windows, so I'm not sure if the instructions I added are correct, please give me feedback on it.
Thank you!
This pull request is intended to close #14699
I never built for Windows, so I'm not sure if the instructions I added are correct, please give me feedback on it.
Thank you!
73 | +have [NSIS](https://nsis.sourceforge.io/Main_Page) installed. 74 | + 75 | +``` 76 | +sudo apt install nsis 77 | +make deploy 78 | +makensis share/setup.nsi
makensis share/setup.nsi is not necessary
66 | @@ -67,6 +67,17 @@ build process. 67 | 68 | See also: [dependencies.md](dependencies.md). 69 | 70 | +## Install NSIS 71 | + 72 | +The following steps are necessary to create the binary file. In order to create it, the system must
s/binary file/binary installer
I didn't understand your comment. Should I replace 'binary file' to 'binary installer', or the commands in the terminal should run in 's/binary file/binary installer/' directory?
You should replace binary file with binary installer
I'd suggest moving this down between the Depends and Installation sections of the build doc. Someone is not going to be able to run make deploy unless that have already completed the steps for a 32/64 bit build.
I'd suggest moving this down between the Depends and Installation sections of the build doc. Someone is not going to be able to run
make deployunless that have already completed the steps for a 32/64 bit build.
Done!
128 | @@ -129,6 +129,17 @@ Then build using: 129 | 130 | For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory. 131 | 132 | +## Install NSIS
Can you change the title to be something like "Create Installer", and use the dash title method i.e ------ below the words (the same as all the rest of the titles in this document).
well the depends system above it also uses ##, it's inconsistent with the rest of the document that's true
I guess I see @fanquake 's logic. Done.
The last step (calling makensis manually) should not be necessary. configure.ac has logic to find makensis, you'll need to install it before calling ./configure for that:
https://github.com/bitcoin/bitcoin/blob/master/configure.ac#L470
Then, make deploy will generate the installer for you:
https://github.com/bitcoin/bitcoin/blob/master/Makefile.am#L73
(see, for example, how the gitian build script works: https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-descriptors/gitian-win.yml#L157)
The last step (calling
makensismanually) should not be necessary.configure.achas logic to findmakensis, you'll need to install it before calling./configurefor that:https://github.com/bitcoin/bitcoin/blob/master/configure.ac#L470
Then,
make deploywill generate the installer for you:https://github.com/bitcoin/bitcoin/blob/master/Makefile.am#L73
(see, for example, how the gitian build script works: https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-descriptors/gitian-win.yml#L157)
Thank you very much for the explanation!
128 | @@ -129,6 +129,17 @@ Then build using: 129 | 130 | For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory. 131 | 132 | +Create installer 133 | +----------------- 134 | + 135 | +The following steps are necessary to create the binary installer. In order to create it, the system must 136 | +have [NSIS](https://nsis.sourceforge.io/Main_Page) installed.
I think you should mention that it should be installed before running ./configure, if you install it just before the make step in the steps below it's not going to work.
@LucianaMarques Thanks for your work here. I've picked this up in #14950. The changes are still attributed to you.