Boost logo

Boost Users :

Subject: Re: [Boost-users] cmake can't find Boost 1.40.0
From: Mikko Vainio (mikko.vainio_at_[hidden])
Date: 2009-10-04 04:31:06


Hi Timothy,

Use:

SET(Boost_ADDITIONAL_VERSIONS "1.40.0" "1.40")
FIND_PACKAGE(Boost ...

Cheers,
Mikko

On 10/04/2009 03:51 AM, Timothy Chan wrote:
> Hi all,
>
> I have a newbie question here. I am installing a software called gazebo
> which uses cmake. The software requres boost 1.35+. I have 1.32 on the
> system, and 1.40 installed locally. Cmake seems to only be able to find
> 1.32 and is not able to find my local installation of 1.40.
>
> I have boost installed in:
> /home/timchan/boost_1_40_0
>
> In my .bashrc file I put:
>
> export LD_LIBRARY_PATH=/home/timchan/boost_1_40_0/libs:$LD_LIBRARY_PATH
> export CPATH=/home/timchan/boost_1_40_0/boost:$CPATH
>
> When I run cmake, I get the following error:
>
> CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:868 (message):
> Unable to find the requested Boost libraries.
> Boost version: 1.32.0
> Boost include path: /usr/include
> Detected version of Boost is too old. Requested version was 1.35 (or
> newer).
>
>
> Any help would be greatly appreciated!!
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net