Bitcoin Forum
May 10, 2024, 03:44:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Make error 'boost/filesystem.hpp  (Read 48 times)
randomwalks (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 17, 2021, 02:30:55 AM
 #1

Hi, I have been trying to build the bitcoin while keeping getting errors:
./fs.h:14:10: fatal error: 'boost/filesystem.hpp' file not found
#include <boost/filesystem.hpp>
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

I have installed dependency including boost via brew (I am on Mac M1 if it is related)
Thanks!
1715355868
Hero Member
*
Offline Offline

Posts: 1715355868

View Profile Personal Message (Offline)

Ignore
1715355868
Reply with quote  #2

1715355868
Report to moderator
1715355868
Hero Member
*
Offline Offline

Posts: 1715355868

View Profile Personal Message (Offline)

Ignore
1715355868
Reply with quote  #2

1715355868
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715355868
Hero Member
*
Offline Offline

Posts: 1715355868

View Profile Personal Message (Offline)

Ignore
1715355868
Reply with quote  #2

1715355868
Report to moderator
1715355868
Hero Member
*
Offline Offline

Posts: 1715355868

View Profile Personal Message (Offline)

Ignore
1715355868
Reply with quote  #2

1715355868
Report to moderator
1715355868
Hero Member
*
Offline Offline

Posts: 1715355868

View Profile Personal Message (Offline)

Ignore
1715355868
Reply with quote  #2

1715355868
Report to moderator
NotATether
Legendary
*
Online Online

Activity: 1596
Merit: 6735


bitcoincleanup.com / bitmixlist.org


View Profile WWW
January 17, 2021, 06:57:18 AM
 #2

Make sure that Boost Filesystem is installed. On Debian-based distros and Ubuntu, you install libboost-filesystem-dev and libboost-dev from apt. On Red Hat/CentOS/Fedora it's boost-filesystem and boost-devel from yum/dnf.

On brew I believe that these files are located in the boost package. I don't see any listing of boost-filesystem when browsing https://formulae.brew.sh/formula/.

You may end up having to build Boost yourself since brew doesn't seem to have the package.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!