8 votes
Accepted

How to compile Bitcoin-Qt as an .exe on Ubuntu?

.exe files are for windows only. Linux systems do not use the same file extension or file type as windows. I assume you just want to create a Linux binary that can be used on all systems without ...
Ava Chow's user avatar
  • 69.9k
5 votes
Accepted

Reproducible Gitian Builds .. but not the same hash as bitcoincore.org

I've done a rebuild of 0.20.1 and I get the same results that you do. This would indicate that a build dependency has updated to produce slightly different results than the version that was in use at ...
Ava Chow's user avatar
  • 69.9k
5 votes
Accepted

Why Does Bitcoin Core Use Autotools?

Because checking for compiler features, without Automake/CMake/Ninja/Bazel with only Makefile and C++ preprocessor is hard and unelegant. And C++ preprocessor can't be used to make full-compile ...
MCCCS's user avatar
  • 10.2k
4 votes

How do developers fix bugs when compiling takes so long?

Initial compiling of bitcoin-core can take a couple of minutes. If you have a multicore processor, you can use make -j<cores+1> to speed up compiling (parallel compiling). Once bitcoin-core is ...
Jonas Schnelli's user avatar
4 votes

How to compile Bitcoin-Qt as an .exe on Ubuntu?

Since this is the first result that pops up on google when searching "bitcoin windows depends build" and the user asked how to build the .exe (but was actually looking for static build instructions on ...
TheCharlatan's user avatar
4 votes
Accepted

What's the purpose of using Guix within Gitian? Doesn't that reintroduce dependencies and security concerns?

Gitian achieved reproducibility through the use of a virtual machine to isolate the toolchain used for building. This means that any and all unaudited and untrusted third party binaries execute in a ...
Ava Chow's user avatar
  • 69.9k
3 votes

Bitcoin Core compiled "bad91-dirty" version

The "51bad91" may be a bit misleading here, it's just coincidence that it says "bad". It's actually just the most recent commit on the 0.15 branch, https://github.com/bitcoin/bitcoin/commit/...
meshcollider's user avatar
  • 11.8k
3 votes
Accepted

Is it better to compile bitcoin node or rather for some reason just use the official binaries?

if you can compile your node, do it. well done! for most of the users it is technically nearly impossible to compile a bitcoin node because most of people have not enough technical knowledge. bitcoin....
anion's user avatar
  • 746
3 votes

How to compile sources on MAC OS in 2017?

On a Mac Pro with MacOS Sierra 10.12.6 I got a clean compilation by following the instructions in doc/build-osx.md. The sequence of commands is: 1) First install Xcode and HomeBrew by executing (in ...
Danielik's user avatar
3 votes
Accepted

bitcoin core makefile addtions

Add them to Makefile.am. Search where net_processing.{cpp,h} are mentioned and add your own.
Pieter Wuille's user avatar
3 votes
Accepted

What is ccache? When should I use it when building and reviewing Bitcoin Core PRs?

The tool ccache helps store intermediate compilation results, so if you change branches often, and rebuild, it can significantly speed up doing so. To use it, you install ccache for your platform. ...
Pieter Wuille's user avatar
3 votes
Accepted

Compiler optimizations for self-compiled Bitcoin Core

By default, yes and no. No, most of the code is compiled for generic target hardware. If you want something optimized for your actual hardware, you can add -march=native to your compilation flags (e.g....
Pieter Wuille's user avatar
3 votes
Accepted

Should these Bitcoin Core build warnings be addressed or are they entirely harmless?

Yes, this particular warning can be ignored. The given file name is of a system dependency and so there is nothing that can be done about it except to wait for the boost project to fix the error and ...
Ava Chow's user avatar
  • 69.9k
3 votes

Downgrading Bitcoin Core 24.99 (latest source code) to 24.0.1

You can build any of the stable releases by checking out a tagged branch. For v24.0.1, this would be something like this: git checkout v24.0.1 and then proceed with building, same as before. ...
josie's user avatar
  • 681
3 votes
Accepted

Building neutrino from source for use with lnd

From what I can tell, neutrino is not a standalone node but a library that lnd uses to be able to run in "neutrino" mode. To use lnd with a neutrino backend, compile lnd from the source and ...
josie's user avatar
  • 681
3 votes
Accepted

Is it possible to use the getboolarg function in interpreter.cpp

interpreter.cpp is part of the internal libbitcoin_consensus library, while GetBoolArg() is in common/args.{h/cpp} which is part of the internal libbitcoin_common library. The Makefile specifies a ...
Ava Chow's user avatar
  • 69.9k
3 votes
Accepted

Which binaries do I need to compile from Bitcoin Core's code for running my non-routing node as an end user?

Core Lightning directly interacts only with bitcoin-cli, which in turn interacts with bitcoind. Those are the only two binaries you will need, indipendently of whether you compiled the binaries ...
cdecker's user avatar
  • 9,418
2 votes

Installation troubles... Compiling from source code on a mac book pro

I ran the ./configure without the -with-gui=qt5 option and the installation went through fine. btw, this was on MAC OS X Yosemite (Version 10.10.5).
Prem Govind's user avatar
2 votes

Should boost be installed in /usr/ or /usr/local/ for bitcoin-core?

Libraries should be installed in /usr/include. For Boost, the path to it should be /usr/include/boost. That's where the linker would be looking for the libraries. Otherwise, you may elect to install ...
rny's user avatar
  • 2,418
2 votes
Accepted

Why do compiled binaries still require libdb, BerkeleyDB, and others?

The standard compile process does not static "include" dependencies in the executable file. It refers to the installed libdb, boost, etc. This (dynamic linkes libraries) is an efficient concept. ...
Jonas Schnelli's user avatar
2 votes

How do I compile Core 0.8.6 on Ubuntu (EC2)?

You can use the gitian build system. Instructions for building 0.8.x with gitian are available here: https://github.com/bitcoin/bitcoin/tree/0.8/contrib/gitian-descriptors and here: https://github.com/...
Ava Chow's user avatar
  • 69.9k
2 votes

How to compile Bitcoin-Qt as an .exe on Ubuntu?

An alternative solution would be to build a tarball archive like the one you can download from the Bitcoin Core website. To do that you have to follow the release process, as explained in: https://...
FedFranz's user avatar
  • 652
2 votes

autogen.sh not working on Ubuntu on Windows

This means your file has DOS newlines thus, hidden CR characters at the end. Thus, set -e becomes set -e$'\r' (using bash-specific syntax to represent the CR character), which isn't a valid option. ...
smhaziq's user avatar
  • 21
2 votes
Accepted

Where can i download latest stable bitcoin-core src files?

git clone [email protected]:bitcoin/bitcoin.git git checkout tag_name the latest version must be v0.15.0.1 now. so the command is : git checkout v0.15.0.1
jinsong ai's user avatar
2 votes
Accepted

Where can i download latest stable bitcoin-core src files?

The Bitcoin Core source code is in a git repository. The repository has multiple branches and tags. The branches are source trees for a major version (e.g. 0.14 releases) and tags are for individual ...
Ava Chow's user avatar
  • 69.9k
2 votes

Where can i download latest stable bitcoin-core src files?

As you can see here the latest version is now the more stable version. As the most recent changes are for bug fixes, etc. This is a new minor version release, including various bugfixes and ...
Alberto's user avatar
  • 123
2 votes

Compiling bitcoin-core from source Ubuntu 17.10

Do make clean then rebuild. If that doesn't work, reconfigure (./autogen.sh and ./configure) then make clean again, then make.
Ava Chow's user avatar
  • 69.9k
2 votes

Adding new files to Makefile.am

Adding a single source file and header is easier to do than adding a new library. For a single source file, the file must come before any file that depends on it. So in your example, you should have ...
Ava Chow's user avatar
  • 69.9k
2 votes

Bitcoin Core - autogen.sh failing on Mac

This happens because /usr/local/bin/glibtoolize: is pointing to the wrong directory line 49 : ${SED="/usr/local/Library/ENV/4.3/sed"} This was changed when homebrew decided to move their paths. See ...
cvu's user avatar
  • 121
2 votes

Adding new files to Makefile.am

There were 2 problems with the code: you cannot compile c code with a c++ compiler without extern "C" in the header files of the C code. https://stackoverflow.com/questions/12066279/using-c-...
Joe N's user avatar
  • 21

Only top scored, non community-wiki answers of a minimum length are eligible