configure: error: cannot find Boost headers version >= 1.48.0

Viewed 1235

I've been trying to install Exempi by following this method.

Running./configure yields configure: error: cannot find Boost headers version >= 1.48.0

I presume I have a successful installation of boost using the method specified here

Are there any workarounds for this error? I'm using a MacBook Air running on macOS Big Sur, I'm also trying to avoid using MacPorts.

1 Answers

Try configuring Exempi by ./configure BOOST_ROOT=/path/to/your/boost/root/ (change to your Boost path).

By default Exempi searches for boost in default system paths if BOOST_ROOT is not provided, otherwise inside BOOST_ROOT directory.

Alternatively, in MacOS, you can install Boost by brew install boost, then you don't need BOOST_ROOT in configure, because brew installs boost to default locations.

In Linux you may install Boost through sudo apt install libboost-all-dev.

Related