Bitcoin Forum
October 15, 2024, 09:03:44 PM *
News: Latest Bitcoin Core release: 28.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!
NotATether
Legendary
*
Offline Offline

Activity: 1750
Merit: 7326


Top Crypto Casino


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.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!