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
1 vote
1 answer
100 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
  • 107
0 votes
0 answers
75 views

failure : gradle clean build

First time. Wanting to learn / test / review / contribute. Ubuntu - 22.04, openJDK 19.0.2, Gradle 8.1 I get the following error: gradle clean build Including wallettemplate because Gradle 8.1 ...
user11293559's user avatar
1 vote
1 answer
95 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
132 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
273 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
39 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
41 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
216 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
47 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
57 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
302 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
113 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
500 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
79 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
  • 219
0 votes
0 answers
142 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
221 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
472 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
4 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
  • 41
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
367 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
127 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
220 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
553 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
40 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
113 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
150 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
  • 21
2 votes
1 answer
48 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
105 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
461 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
1 vote
0 answers
511 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
291 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
54 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
491 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
230 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
724 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
989 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
89 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
585 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
101 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
209 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
-1 votes
1 answer
190 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 ...
EndlessLoop's user avatar
1 vote
1 answer
66 views

Why Ardor does not use Maven?

Are there some reasons why maven and standard maven directory layout are not used in Ardor?
Sergei Romanov's user avatar
0 votes
0 answers
198 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 ...
behkod's user avatar
  • 303
3 votes
2 answers
930 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)?
Ilya Maximencko's user avatar
2 votes
1 answer
350 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 ...
erols's user avatar
  • 53
1 vote
1 answer
285 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 ...
yairks's user avatar
  • 11
1 vote
0 answers
232 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 ...
thenakulchawla's user avatar
0 votes
1 answer
109 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....
Okabe Rintarou's user avatar