Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost Root directory structure for CMAKE
From: Mateusz Łoskot (mateusz_at_[hidden])
Date: 2011-10-26 15:08:10

On 26 October 2011 16:02, Alistair Lowe <ali_lowe_at_[hidden]> wrote:
> Following the bellow advice, I've been able to locate my boost headers,
> however even if I supply a direct link to the library (also it is in the
> standard search path) cmake will not find my library files.
> I receive the following message:
>   Unable to find the requested Boost libraries.
> Boost version: 1.47.0
> Boost include path: C:/boost/include/boost-1_47
> The following Boost libraries could not be found:
> boost_system
> boost_filesystem
> boost_thread
> boost_date_time
> My libraries are contained within C:/boost/lib, also copied to
> c:/boost/include/boost-1_47/boost.
> Typical names of my libraries are:
> libboost_filesystem-gcc-mt-1_47
> and
> libboost_filesystem-gcc-mt-1_47
> I'm getting really close with this one and so any help is much appreciated
> (I'm using CMake 2.8.6 by the way).

Sometimes the FindBoost.cmake has problems with matching the libraries names.

I guess you will need to edit FindBoost.cmake and add some print-based
debugging to trace where is the issue.

Best regards,

Mateusz Loskot,
Charter Member of OSGeo,
Member of ACCU,

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at