Ubuntu – cmake 3.0.2 can’t find boost on 14.04

boostcmake

I have the latest cmake 3.0.2 compiled from sources, also libboost-all-dev installed. And find_package(Boost) can't find it. Here is output of cmake:

Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root 
directory containing Boost of BOOST_INCLUDEDIR to the directory containing
Boost's headers.

Do I need to manually set any variables after installing Boost to get it visible for cmake?

Thanks.

Best Answer

What version of libboost-all-dev are you using? I assume you are using v1.53.0.

Try installing libboost1.54-all-dev instead.

Related Question