Bitcoin full node and query server

Feb 6, 2025

View in context in the libbitcoin Slack #general mirror.

C
cguida15:58
@pmienk are cmake presets supposed to work in vscode? struggling to build the nix-gnu-debug-static preset
[main] Building folder: /home/cguida/code/libbitcoin/src/libbitcoin-node/obj/nix-gnu-debug-static 
[main] Configuring project: libbitcoin-node 
[proc] Executing command: /usr/bin/cmake -DBUILD_SHARED_LIBS:BOOL=OFF "-DCMAKE_C_FLAGS= -Og -g --coverage" "-DCMAKE_CXX_FLAGS= -Og -g --coverage" -Denable-ndebug:BOOL=OFF -DCMAKE_PREFIX_PATH:PATH=/home/cguida/code/libbitcoin/src/libbitcoin-node/builds/../../../prefix/nix-gnu-debug-static -DCMAKE_LIBRARY_PATH:PATH=/home/cguida/code/libbitcoin/src/libbitcoin-node/builds/../../../prefix/nix-gnu-debug-static/lib: -DCMAKE_INSTALL_PREFIX=/home/cguida/code/libbitcoin/prefix/nix-gnu-debug-static -S/home/cguida/code/libbitcoin/src/libbitcoin-node/builds/cmake -B/home/cguida/code/libbitcoin/src/libbitcoin-node/obj/nix-gnu-debug-static
[cmake] CMake Warning (dev) at CMakeLists.txt:149 (find_package):
[cmake]   Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
[cmake]   --help-policy CMP0167" for policy details.  Use the cmake_policy command to
[cmake]   set the policy and suppress this warning.
[cmake] 
[cmake] This warning is for project developers.  Use -Wno-dev to suppress it.
[cmake] 
[cmake] -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version "1.83.0", minimum required is "1.76.0") found components: unit_test_framework
[cmake] -- Checking for module 'libbitcoin-database >= 4.0.0'
[cmake] --   Package 'libbitcoin-database', required by 'virtual:world', not found
[cmake] -- Configuring incomplete, errors occurred!
[cmake] CMake Error at /usr/share/cmake-3.31/Modules/FindPkgConfig.cmake:645 (message):
[cmake]   The following required packages were not found:
[cmake] 
[cmake]    - libbitcoin-database >= 4.0.0
[cmake] 
[cmake] Call Stack (most recent call first):
[cmake]   /usr/share/cmake-3.31/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
[cmake]   modules/FindBitcoin-Database.cmake:58 (pkg_check_modules)
[cmake]   CMakeLists.txt:167 (find_package)
[cmake] 
[cmake] 
[proc] The command: /usr/bin/cmake -DBUILD_SHARED_LIBS:BOOL=OFF "-DCMAKE_C_FLAGS= -Og -g --coverage" "-DCMAKE_CXX_FLAGS= -Og -g --coverage" -Denable-ndebug:BOOL=OFF -DCMAKE_PREFIX_PATH:PATH=/home/cguida/code/libbitcoin/src/libbitcoin-node/builds/../../../prefix/nix-gnu-debug-static -DCMAKE_LIBRARY_PATH:PATH=/home/cguida/code/libbitcoin/src/libbitcoin-node/builds/../../../prefix/nix-gnu-debug-static/lib: -DCMAKE_INSTALL_PREFIX=/home/cguida/code/libbitcoin/prefix/nix-gnu-debug-static -S/home/cguida/code/libbitcoin/src/libbitcoin-node/builds/cmake -B/home/cguida/code/libbitcoin/src/libbitcoin-node/obj/nix-gnu-debug-static exited with code: 1
(edited)
pmienk21:05
I got it working, then it went to the back burner since I work gsl more than anything else and vscode doesn't help me there