FindBoost.cmake

Helio Chissini de Castro helio at kde.org
Fri Jul 11 21:29:56 CEST 2008


On Thursday 10 July 2008 17:48:41 Andreas Pakulat wrote:

> What does CMakeCache.txt say about boost? Whats the error message?

Error:

-----------------------------------------------------------------------------                                                     
-- The following OPTIONAL packages could NOT be located on your system.                                                           
-- Consider installing them to enable more features from this software.                                                           
+ boost, 1.33.1: Boost C++ Libraries <http://www.boost.org>                                                                       
Required to build Umbrello.                                                                                                       
-----------------------------------------------------------------------------   

CMakeCache not shows any error, and is even defining this:
//Advanced flag for variable: Boost_INCLUDE_DIR
Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
//Advanced flag for variable: Boost_LIBRARY_DIRS
Boost_LIBRARY_DIRS-ADVANCED:INTERNAL=1
//The library version string for boost libraries
Boost_LIB_VERSION:INTERNAL=1_35
//Advanced flag for variable: Boost_USE_MULTITHREADED
Boost_USE_MULTITHREADED-ADVANCED:INTERNAL=1
//The version number for boost libraries
Boost_VERSION:INTERNAL=103500


> Does /usr/include/boost/config.hpp exist? Does it contain a proper
> #define BOOST_VERSION and #define BOOST_LIB_VERSION? What boost version
> is that?

config.hpp exists
defines are not there, version is 1.35

>
> On my debian box with headers in /usr/include/boost it works fine both
> with CMake 2.6.0 and 2.4.5 (the latter is Kitwares original package).
>
> Andreas

CMake 2.6.0 here

[]'s

-- 
Helio Chissini de Castro
KDE Project
Brasil and South America Primary Contact


More information about the Kde-buildsystem mailing list