Skip to main content

Questions tagged [compiling]

Compiling is the process by which human written source code for a program is converted into a computer-executable binary program ready for execution on a specific type of computer operating system.

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

Bitcoin Cross-compilation failed with errors in notification.cpp

sudo apt update sudo apt upgrade sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git installed all the dependencies in dependencies.md sudo apt install ...
Nobody's user avatar
  • 1
2 votes
2 answers
208 views

Enabling Bitcoin Core Wallet during configuration? Getting "method not found"

The problem: I'm getting "Method not found" when running bitcoin-cli getwalletinfo on a new install. I've compiled and installed Bitcoin Core 26.0 from source on a Ubuntu system, following ...
Pyromancer's user avatar
-2 votes
1 answer
43 views

Build bitcoin-qt.exe on ubuntu 18.4

0.8.1 version and when i compile this version but successfully compiled but now i want to generate the window executable file(.exe) from bitcoin-0.8.1 version. so latest version and older bitcoin-0.8....
NotRin's user avatar
  • 1
2 votes
3 answers
93 views

How should I install Core Lightning if my VPS won't let me use pip install?

I tried to install Core Lightning on a Ubuntu Digital Ocean droplet using these installation instructions and it won't let me pip install anything giving me an error externally-managed-environment. ...
Michael Folkson's user avatar
1 vote
1 answer
120 views

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

I need Bitcoin Core only for running my non-routing core-lightning node (private channels only) as an end user (not as a developer)? The lightning node is to be run on the same machine as bitcoin core....
John Smith's user avatar
4 votes
1 answer
87 views

Build phase fails with undefined reference to `evhttp_uridecode`

I try to build Bitcoin Core on my Ubuntu 23.10 machine using the "Build Unix" documentation page but it fails with undefined reference to evhttp_uridecode. Here are the details: I started by ...
Hassen's user avatar
  • 141
1 vote
0 answers
38 views

Not able to compile bitcoin core on VS 2022

VS is not able to detect some .hpp files from the boost library. Some files have the following header file calls : #include <boost/multi_index/hashed_index.hpp> #include <boost/multi_index/...
Fayas Mohamed's user avatar
1 vote
1 answer
49 views

Building/Running CLN on Debian 11

Is there a way to build or run CLN on Debian 11? The docs/INSTALL.md file lists several operating systems, but none of them is Debian. I tried following the directions for Ubuntu, but that resulted in ...
Zephyrus's user avatar
  • 782
2 votes
1 answer
65 views

Local Esplora Not Compiling on Clean `new-index` Branch

I'm immediately failing to compile https://github.com/Blockstream/electrs on a clean branch of new-index as instructed in the README. The build is failing with the following error: error: failed to ...
Nicholas Sandomeno's user avatar
1 vote
1 answer
103 views

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

I'm looking to use the GetBoolArg() function in the interpreter.cpp file what changes do I have to make for it to work? I'm still new to development c, I tried several #include but without success. ...
Retro_pex's user avatar
  • 125
1 vote
1 answer
148 views

lnd Command not found after installing from source

I want to run a lightning node. I already have bitcoin full node on a raspberry pi 4 external hard drive and I installed lnd on the hard drive like this: git clone https://github.com/lightningnetwork/...
Luca F's user avatar
  • 27
2 votes
1 answer
241 views

Building neutrino from source for use with lnd

I am trying to build neutrino, to use with lnd. However I cannot find any installation instructions. Someone else also asked for install instructions a few months ago and got no reply. I have ...
alexg's user avatar
  • 263
3 votes
2 answers
307 views

Downgrading Bitcoin Core 24.99 (latest source code) to 24.0.1

I wanted to build Bitcoin Core myself, so I followed this official guide, but in the process I failed to realize that by cloning the git repo I would just get the latest source code, not the latest ...
Rits's user avatar
  • 31
1 vote
0 answers
45 views

bitcoin-core building disabled binaries

good day, I have just tried upgrading to core 24. As I am looking for a purely headless bitcoin-core, my process was the following rm -rf bitcoin git clone https://github.com/bitcoin/bitcoin.git cd ...
xDSx's user avatar
  • 11
-2 votes
1 answer
59 views

I have upgraded libsecp256k1 to latest master but I'm having issues to link it properly now. How can I resolve this?

I have upgraded libsecp256k1 to the latest master but I'm having issues to link it properly now. What is the problem and how might I resolve it? The error message is: collect2: error: ld returned 1 ...
Michael Folkson's user avatar
1 vote
0 answers
324 views

secp256k1 library building for C++

The title says it all. How can I compile secp256k1 for use in a personal project. I have #include secp256k1.h but keep getting unresolved external linkers. I believe this is due to the lack of a ...
CTME's user avatar
  • 11
0 votes
1 answer
51 views

Is this other Boost warning harmless and should be ignored when building Bitcoin Core?

In a similar vein to this question I got a new Boost warning when building a PR branch on MacOS. In file included from /usr/local/include/boost/test/test_tools.hpp:46: /usr/local/include/boost/test/...
Michael Folkson's user avatar
1 vote
1 answer
58 views

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

When I build Bitcoin Core on MacOS I get a number of "overriding a member function" Boost warnings: e.g. /usr/local/include/boost/signals2/connection.hpp:212:34: warning: 'release_slot' ...
Michael Folkson's user avatar
0 votes
0 answers
396 views

How to compile bitcoin source code with wallet?

I've built the bitcoin core on my computer and once I tried to run tests related to wallet, I encountered this error: [amirreza@localhost bitcoin]$ python test/functional/wallet_createwallet.py 2022-...
Amir reza Riahi's user avatar
2 votes
0 answers
160 views

How to compile and conduct functional tests of Bitcoin core for CPU (32 bit) and memory constrained system?

I wanted to use my old laptop to run a bitcoin full node. Specifications: Processor: Intel Core2Duo @2.2 GHz i686 OS: Lubuntu 18.04.6 LTS (I have tried first on Lubuntu 16.04, but it failed due to ...
Manapy's user avatar
  • 21
0 votes
1 answer
606 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?
user107511's user avatar
3 votes
0 answers
1k 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....
Pranay Reddy's user avatar
1 vote
2 answers
80 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 ...
liorko's user avatar
  • 239
0 votes
0 answers
160 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 ...
Alex  Matei's user avatar
1 vote
2 answers
261 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 ...
jwd's user avatar
  • 185
1 vote
2 answers
500 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 ...
Michael Folkson's user avatar
5 votes
1 answer
1k 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 ...
DataSci's user avatar
  • 51
3 votes
2 answers
1k 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 ...
Knut Karnapp's user avatar
1 vote
1 answer
457 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", ...
Julian Moraes's user avatar
0 votes
1 answer
136 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", ...
Julian Moraes's user avatar
0 votes
1 answer
256 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: '...
Id_brain's user avatar
1 vote
1 answer
625 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 ...
Id_brain's user avatar
1 vote
1 answer
41 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.
Keba's user avatar
  • 33
5 votes
1 answer
119 views

Why Does Bitcoin Core Use Autotools?

Why does Bitcoin Core use Autotools instead of checking a Makefile into source?
justinmoon's user avatar
2 votes
0 answers
159 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 ...
Tom's user avatar
  • 121
2 votes
1 answer
49 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?
Michael Folkson's user avatar
3 votes
1 answer
136 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 ...
Hellwerker's user avatar
3 votes
2 answers
471 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-...
Michael Tidwell's user avatar
2 votes
1 answer
566 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 ...
user avatar
1 vote
2 answers
308 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?
Michael Folkson's user avatar
1 vote
0 answers
61 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 ...
Sishir Giri's user avatar
0 votes
0 answers
516 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 ...
Jdawg287's user avatar
2 votes
1 answer
250 views

How ./configure Bitcoin Core build to pick up depends build and installation path at the same time?

I'm trying to build Bitcoin Core and, if I understand it correctly, the configure script uses the --prefix= option twice, once for the inclusion of the depends build (from depends/README.md): **...
Wieland Gmeiner's user avatar
0 votes
1 answer
1k 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/....
wednesdaymiko's user avatar
0 votes
2 answers
774 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: ...
Yoshi24517's user avatar
1 vote
3 answers
995 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 ...
Chris Guida's user avatar
1 vote
0 answers
90 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 ...
Arkadiusz Brzoza's user avatar
0 votes
1 answer
630 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 ...
javierMarquez's user avatar
0 votes
1 answer
103 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....
Amir Ahangar's user avatar
1 vote
1 answer
218 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 ...
givanse's user avatar
  • 230