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 ...
user avatar
  • 61.4k
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 ...
user avatar
  • 61.4k
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 ...
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 ...
user avatar
4 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 ...
user avatar
  • 9,819
3 votes
Accepted

bitcoin core makefile addtions

Add them to Makefile.am. Search where net_processing.{cpp,h} are mentioned and add your own.
user avatar
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 ...
user avatar
3 votes

Compiling litecoind on Ubuntu 15.04

The build system has changed to autotools in later versions of Litecoin. The process now looks like this: ./autogen.sh ./configure make -j4 make install # optional There's up to date ...
user avatar
  • 15k
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/...
user avatar
  • 11.3k
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....
user avatar
  • 747
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....
user avatar
2 votes

Why I obtain this error trying to compile this wallet?

Like it says, you are missing the header file miniupnpc/miniwget.h. Usually this means there is a required library that is not installed. Ubuntu has the convenient tool apt-file for finding which ...
user avatar
2 votes

Unable to Compile Particle-Qt using qmake in Ubuntu 15.04

Problem is here: QApplication: No such file or directory You might not have QT development files installed. If using debian / ubuntu try: apt-get install libqt4-dev
user avatar
  • 187
2 votes

Compiling Stellar-core on windows: where does mingw/cygwin come in

I am not sure StackExchange is the place to ask this as it's issue level (which GitHub can take care of - https://github.com/stellar/stellar-core/issues). Anyways, in the Install-Windows.txt it says ...
user avatar
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).
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 ...
user avatar
  • 2,378
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. ...
user avatar
2 votes
Accepted

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

git clone git@github.com: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
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 ...
user avatar
  • 61.4k
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 ...
user avatar
  • 123
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/...
user avatar
  • 61.4k
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://...
user avatar
  • 632
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. ...
user avatar
  • 21
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.
user avatar
  • 61.4k
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 ...
user avatar
  • 121
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 ...
user avatar
  • 61.4k
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-...
user avatar
  • 21
2 votes

One Code, Two Different Compilations (One Dirty Version of BitCoin)

Dirty means that the compiled binary includes code that is not committed in git. You can use the git diff command to see what the uncommitted code is and use git show to see what the most recent ...
user avatar
  • 61.4k
2 votes

building bitcoin-qt.exe using Visual Studio 2017

There is documentation about how to build with visual studio on this link. It works fine for me.
user avatar
2 votes

Compiling Bitcoin Core 0.21.1 on Apple M1 architecture

I ran into the same problem on tag v0.21.1 on my M1 macbook pro (Big Sur 11.4). It turned out that i COULD "make /depends" on master. Then, however, even on master currently, "./...
user avatar

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