[CMake] cmake: could NOT find Boost

Mike Ladwig mdladwig at gmail.com
Tue May 4 12:41:07 EDT 2010


Hi.

I'm having a problem compiling scantailor on CentOS 5.4.  The version of
cmake that comes with CentOS was too old, so I downloaded the current cmake
binary, which seems to be working well.

The problem is that the CentOS version of boost is also out-of-date, so I
needed to download and build that, which I did successfully.  I installed
the new boost (1.42) in /usr/local and have been unable to get cmake to
recognize it.

I have tried -DBOOST_ROOT=/usr/local/ -DBOOSTROOT=/usr/local/
-DBOOST_INCLUDEDIR=/usr/local/include/ -DBOOST_LIBRARYDIR=/usr/local/lib/
-DBoost_ADDITIONALVERSIONS="1.42.0" and many variations on these.

Am I missing something, or is cmake just unable to find boost anywhere other
than default locations?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100504/d565b27d/attachment.htm>


More information about the CMake mailing list