[CMake] cmake can't find Boost 1.40.0

Timothy Chan timothychanmailinglists at gmail.com
Sun Oct 4 06:28:00 EDT 2009


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).


I am using cmake 2.6.4 on CentOS 4.7. Any help would be greatly
appreciated!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091004/e8576124/attachment.htm>


More information about the CMake mailing list