cmake can't find Boost 1.40.0
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!!
Timothy,
I think you'd better to ask you question in cmake mailing list.
AFAIK latest FindBoost.cmake (released, not development version) does not
contains rules for 1.40 version of Boost
So here is two options - try play with variable Boost_ADDITIONAL_VERSIONS or
get latest development beta of cmake 2.8
HTH,
2009/10/4 Timothy Chan
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Mikko Vainio
-
Sergey Nikulov
-
Timothy Chan