[CMake] Error finding boost libraries
fatman at crackmonkey.us
fatman at crackmonkey.us
Fri Oct 1 05:55:09 EDT 2010
> From: David Aldrich <David.Aldrich at EU.NEC.COM>
> Subject:
> To: "cmake at cmake.org" <cmake at cmake.org>
>
> The following command is not working for me:
>
> find_package( Boost 1.40.0 COMPONENTS python REQUIRED )
>
> I get error:
>
> CMake Error at CMakeLists.txt:36 (find_package):
> Could not find module FindBoostLibs.cmake or a configuration file
> for package BoostLibs.
>
> I am running CMake 2.8.2, which contains 'FindBoost.cmake' (NOT
> FindBoostLibs.cmake).
>
> Is this a known problem?
I notice you specify Boost.Python.
This is possibly a non-sequitur, but I've had problems with Boost.Python
in the past, in particular when I tried to compose a pkg-config file
(.pc) for it. The rest of Boost works just fine with pkg-config, as it
turns out. It's just Boost.Python I had to give up on.
IMO, the Boost.Python binary is inherently warped.
More information about the CMake
mailing list