walletutil.cpp build issue #14535

issue wkibbler opened this issue on October 21, 2018
  1. wkibbler commented at 10:36 AM on October 21, 2018: none

    when` trying to compile bitcoin from source on unix I get this issue

    wallet/walletutil.cpp: In function ‘std::vector<boost::filesystem::path> ListWalletDir()’: wallet/walletutil.cpp:60:32: error: ‘relative’ is not a member of ‘fs’ paths.emplace_back(fs::relative(it->path(), wallet_dir)); ^ wallet/walletutil.cpp:71:36: error: ‘relative’ is not a member of ‘fs’ paths.emplace_back(fs::relative(it->path(), wallet_dir)); ^ Makefile:6894: recipe for target 'wallet/libbitcoin_wallet_a-walletutil.o' failed

    im guessing it has something to do with missing the boost file system dependency but ive tried downloading and building boost from source and ive tried resetting my vps 3 times to start again. When configure is searching for the file system dep is finds it but i still cant build it.

  2. promag commented at 10:40 AM on October 21, 2018: member

    Fixed in #14531.

  3. fanquake commented at 10:41 AM on October 21, 2018: member

    The problem is that usage of a Boost 1.64 function fs::relative was introduced into the codebase (master) in #14291. There is currently a PR open to remove its usage #14531.

  4. wkibbler commented at 11:04 AM on October 21, 2018: none

    ok thanks

  5. wkibbler closed this on Oct 21, 2018

  6. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me