Questions tagged [compiling]

Questions about and troubleshooting of compiling Bitcoin Core, bitcoind or equivalent altcoin software.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Building Bitcoin Core on Linux/Ubuntu with Visual Studio Code

Does anyone developing Bitcoin Core use VSCode for compilation and debugging on Linux/Ubuntu? How can one configure VSCode to compile Bitcoin Core?
1
vote
0answers
42 views

Compiling bitcoin error : A compiler with support for C++17 language features is required

I am reading the "Mastering bitcoin: Programming the Open Blockchain" book by Andreas Antonopolous. In the chapter about compiling bitcoin, the instructions were to execute first ./autogen....
0
votes
2answers
30 views

Cannot compile depends library- bitcoin v0.21.0

I'm trying to compile the depends library of bitcoin v0.21.0 on Ubuntu 20.04. When I'm running the make command, I'm receiving this error: funcs.mk:265: *** empty variable name. Stop. What is the ...
0
votes
0answers
26 views

Openssl errors when building the bitcoin-core on macOS

I have been trying to build bitcoin-core on macOS as I am reading the "Mastering Bitcoin" book from Andreas Antonopoulos. I read the instructions for building the the bitcoin-core on macOS ...
1
vote
2answers
105 views

Salvaging an old, incompatible wallet with bitcoind

I have an old wallet, created with a very old version of bitcoind, which I'm trying to access once again. I'm trying to understand the various issues that might be preventing me from seeing any ...
2
votes
2answers
327 views

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

What's the purpose of using Guix within Gitian? Doesn't that reintroduce dependencies and security concerns that were the purpose of transitioning from Gitian to Guix? My understanding was that Gitian ...
1
vote
0answers
24 views

Build 'chaincase' wallet for Android in Visual Studio 2019

Repository: https://github.com/chaincase-app/chaincase How to build this in Visual Studio 2019? I am getting few errors: I see that Xamarin is used in the project and one directory with name ...
4
votes
1answer
292 views

Compiling Bitcoin Core 0.21.1 on Apple M1 architecture

I'd like to upgrade from 0.21.0 to 0.21.1 on Mac Mini (Big Sur 11.1), compiling from source. When trying to compile the dependencies by running 'make' in /depends subdirectory, I get the following ...
3
votes
1answer
438 views

Could not detect boost libraries when configuring Bitcoin core - Apple M1 Mac Mini

I´m trying to install Bitcoin from source on an Apple M1 Mac Mini (Big Sur 11.2.3) and Im getting this when running ./configure --prefix=$PWD/depends/arm-apple-darwin20.3.0 "We could not detect ...
1
vote
0answers
105 views

Bitcoin fails to compile with Boost

After running 'autogen.sh', './configure' and then 'make', I keep getting the following error: Undefined symbols for architecture x86_64: "__ZN5boost10filesystem4path5imbueERKSt6locale", ...
0
votes
1answer
51 views

Unable to build Bitcoin on Mac Catalina

I keep getting this error message after running 'make' or 'make check': Making check in src CXXLD bitcoind Undefined symbols for architecture x86_64: "__ZN2Db6verifyEPKcS1_PSoj", ...
0
votes
1answer
99 views

Compiling a statically linked binary for bitcoin core v0.12.0

I'm trying to compile a statically linked binary following https://github.com/bitcoin/bitcoin/tree/master/depends. But when I run make I got this error: fcmatch.c:284:63: error: '...
1
vote
1answer
271 views

Compiling Bitcoin Core v0.10.0 on Ubuntu 20.04

I'm trying to compile Bitcoin Core v0.10.0 on Ubuntu 20.04, but then I get the following error: rpcserver.cpp: In function ‘void StartRPCThreads()’: rpcserver.cpp:594:77: error: no matching function ...
1
vote
1answer
29 views

Developers, programmers new to bitcoin engineering ecosystem [closed]

Any sites, forums dedicated to developers new to bitcoin. Any recommended git repo, site that shows how to interact with a node, do .i.e. p2sh,p2pkh on testnet.
4
votes
1answer
61 views

Why Does Bitcoin Core Use Autotools?

Why does Bitcoin Core use Autotools instead of checking a Makefile into source?
2
votes
0answers
69 views

Linking libsecp256k1 as shared library to Bitcoin Core

I'm not sure if this question is better suited in the context of Autotools, but since it's about Bitcoin Core, I'll try to ask it here. I am trying to Compile/Link libsecp256k1 as a shared library ...
2
votes
1answer
37 views

Are there any other ways of speeding up the building of Bitcoin Core PRs other than ccache?

I am already using ccache to speed up recompilation when building Bitcoin Core PRs. Are there any other ways of speeding up the process?
3
votes
1answer
48 views

Compiler optimizations for self-compiled Bitcoin Core

If I compile Bitcoin Core using the instructions in the README, does the C++ compiler use compiler optimizations for my current CPU, or will it output a "generic" binary, that can run on ...
3
votes
2answers
366 views

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

Bitcoincore.org and Bitcoin.org will let you download a tarball for bitcoin v0.20.1 When they do it bitcoind: 4ec74161b2a90293926ae8e20a2efbe952bd23b53aeebf051e6a6285ace18271 bitcoin-0.20.1-x86_64-...
1
vote
0answers
225 views

Anyone tried building bitcoin core with visual studio 2019?

I followed the steps mentioned in the below link: https://github.com/bitcoin/bitcoin/tree/master/build_msvc Trying to build from https://github.com/bitcoin/bitcoin/tree/0.20 Errors: Error C1083 ...
0
votes
2answers
130 views

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

What is ccache? Can you provide some guidance on when to use it for building Bitcoin Core PRs and how to use it?
1
vote
0answers
29 views

Bitcoin Core make

Whenever I try to recompile my changed files in Bitcoin core. I have to run make clean and then make or else it wont compile the changed files. It just goes back to the last compiled file. How do i do ...
0
votes
0answers
335 views

Cannot cross-compile for Windows from Ubuntu 18.04

I have been at this for ages now and I am unable to cross-compile Bitcoin-Core 0.19.1 on my Ubuntu 18.04 machine (not a VM). I follow these exact instructions: sudo apt install build-essential ...
0
votes
1answer
752 views

configure: error: No working boost sleep implementation found

On Ubuntu 18.04 using the /depends for ./configure but I keep getting this error: checking for boostlib >= 1.47.0 (104700) includes in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/....
0
votes
2answers
467 views

oclvanitygen not compiling

I am trying to compile oclvanitygen because I have an Nvidia GTX 1080 that would most likely be helpful for this. I'm using the Windows Subsystem for Linux with Ubuntu 18.04. I tried this command: ...
1
vote
3answers
937 views

Running into ELIFECYCLE error while trying to install filebazaar

Trying to install filebazaar on Ubuntu 18.04 and getting an error on the canvas module... anyone familiar with this issue? I've been all over node-canvas's github issues (such as this one where I left ...
1
vote
0answers
62 views

OCP-QT Wallet (Based on Bitcoin QT) Cannot fnd Locales 'qrc_bitcoin.cpp'

I a trying to Compile an Altcoin wallet that has been Forked off Bitcoin but i am getting this error when i try to compile: /usr/lib/qt5/bin/rcc -name bitcoin src/qt/bitcoin.qrc -o qrc_bitcoin.cpp ...
0
votes
1answer
399 views

Compiled version of bitcoind 0.18.1. "Could not connect to the server 127.0.0.1:8332"

When I use the official installed bitcoind 0.18.1 everything works fine. I can use the bitcoin-cli with any comands and don't get any errors. After that when I compiled 0.18.1 myself I can't use any ...
0
votes
1answer
66 views

how can i coding wallet to build exchange to client withdraw

i want to build a cryptocurrency exchange so my question how is best way and secure way to depositing and withdrawing clients ? should i use api like https://cryptoapis.io or https://www.blockcypher....
1
vote
1answer
170 views

Bitcoin compilation error: conflicting declaration

I'm trying to compile the Bitcoin source (1) on Ubuntu and I get: In file included from bench/data.cpp:10:0: ./bench/data/block413567.raw.h:1:40: error: conflicting declaration ‘const unsigned char ...
-1
votes
1answer
144 views

Adding C library to Makefile

I am developing an altcoin using a new PoW algorithm which is written in C to test the algorithm. I get compilation errors related to compiling the C code when trying to compile. How can I properly ...
1
vote
1answer
54 views

Why Ardor does not use Maven?

Are there some reasons why maven and standard maven directory layout are not used in Ardor?
0
votes
0answers
139 views

BitcoinCore Ubuntu buiild error: ‘relative’ is not a member of ‘fs’

I'm trying to build Bitcoin core client on an LinuxMint. I'm having the following error(which have not encountered before, while making it on MSWindows or another Linux machine) in make process, right ...
3
votes
2answers
821 views

building bitcoin-qt.exe using Visual Studio 2017

I know there is a project libbitcoin-qt.vcxproj, but I have issues with building it. Is there another solution how to build bitcoin-qt.exe (only VS)?
2
votes
1answer
254 views

Can I, and should I, verify bitcoin core source code before compiling it?

If I use bitcoin core binary release I can verify them with the gpg keys of the core developers. Is there a similar process for the source code? A follow-up question: Is it preferable to use signed ...
1
vote
1answer
197 views

Adding Dependencies to Bitcoin Core

I am currently editing a fork of Bitcoin Core. I have three libraries I would like to add as dependencies. One is my own creation (CPISync) and it depends on a second library (NTL) which in turn ...
1
vote
0answers
202 views

Adding libraries to Makefile.am [closed]

I am trying to add already existing library below to dash source code : Jerasure I have included all the source and header files in a directory 'jerasure' inside 'src'. In the Makefile.am , I have ...
0
votes
1answer
97 views

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

Right now i'm developing an AltCoin based on BitCoin Cash. I have one code, which i compiled in two different servers (A and B). The A server, compiles the Bitcoin as "Bitcoin ABC version v0.16.3....
1
vote
1answer
123 views

No .altcoin directory being generated

I am trying to create a genesis block for a personal play coin. I get the correct output of assertion failed. However when compiling I noticed the ./altcoin folder is not created at all.
1
vote
0answers
79 views

I'm trying to compile Bitcoin Gold but i'm still getting this error [closed]

In file included from ./addrman.h:14:0, from net.h:10, from miner.cpp:18: miner.cpp: In member function ‘std::unique_ptr BlockAssembler::CreateNewBlock(const CScript&,...
0
votes
1answer
82 views

Building enviornment, libraries, and compiling... What does that mean? [closed]

I'm an absolute beginner and I am reading the guide on how to build an altcoin (forked from litecoin) here and I am confused on the first steps. I don't want someone else to do it, I want myself to do ...
0
votes
2answers
525 views

Adding new files to Makefile.am

I need some help with adding files to the code base by adding them to the autotools build system. Other posts that try to answer the same question haven't helped me. I am experimenting with Bitcoin's ...
0
votes
2answers
409 views

C++ error building a fork of Bitcoin-ABC

I'm creating a Bitcoin-ABC based altcoin, everything was fine when I compiled dynamically for my Ubuntu machine, but when I try making a static release build I get: CXXLD libbitcoinconsensus.la ....
2
votes
2answers
393 views

Bitcoin Core - autogen.sh failing on Mac

I'm working on installing Bitcoin Core for the mac. I've cloned the repo and installed the dependencies via brew. I'm trying to run autogen.sh but it is failing: $ ./autogen.sh /usr/local/bin/...
1
vote
1answer
50 views

modifying bitcoind to include mysql support

I am modifying bitcoind (working with 0.13.1) to include write the log to mysql db versus the log file. I have all the functions worked out and compiling outside of bitcoind The trouble I ran ...
3
votes
1answer
67 views

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

As I have some doubts about a possible hackers' attacks on https://bitcoin.org/ Wanting to run a full node, I rather compiled the Bitcoin Core from git source for Linux instead. The question is: ...
0
votes
2answers
444 views

Successfully compile bitcoin without errors, but get 'Abort trap: 6' when I run /.bitcoind on Mac OSX

I compile bitcoin successfully without errors, but get 'Abort trap: 6' when I run /.bitcoind /bitcoin/src > ./bitcoind Abort trap: 6 Building with master branch lastest commit: https://github.com/...
0
votes
2answers
659 views

Compiling bitcoin-core from source Ubuntu 17.10

Hey everything has usually been fine compiling from source until i updated to Ubuntu 17.10 I've configured using --disable-wallet and i'm using the most up to date master branch chris@chris-GE60-2PL:...
0
votes
1answer
226 views

Building libbitcoin libraries on Arch linux fails

I'm trying to build libbitcoin libraries on Arch linux. First I tried to download AUR packages. I successfully installed libsecp256k1 and libbitcoin. But if I try to compile libbitcoin-system and ...
2
votes
1answer
285 views

Bitcoin Core compiled "bad91-dirty" version

After compiling Bitcoin Core following their guidelines I get a "dirty" version as seen in the screenshot below. git clone https://github.com/bitcoin/bitcoin.git cd bitcoin sudo git checkout 0.15 ...