[Insight-users] Fwd: using boost with ITK

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Jan 13 12:49:38 EST 2010


[better on cmake mailing list]

On Wed, Jan 13, 2010 at 6:44 PM, Mark Roden <mmroden at gmail.com> wrote:
> Hi Mike,
>
> I've downloaded Boost 1.41 and run the bootstrap.bat file to build it
> on Windows.
>
> With CMake 2.8, I get the error:
> Could NOT find Boost
>
> after I set boost_INCLUDE_DIR to be where I downloaded the boost
> libraries.  Additionally, the other parameters (debug and release
> versions of the filesystem and system libraries) automatically reset
> to blank when that error shows up.
>
> What am I missing?


$ cmake --help-module FindBoost
...

    Currently this module searches for the following version numbers:
       1.33, 1.33.0, 1.33.1, 1.34, 1.34.0, 1.34.1, 1.35, 1.35.0, 1.35.1,
       1.36, 1.36.0, 1.36.1, 1.37, 1.37.0, 1.38, 1.38.0, 1.39, 1.39.0, 1.40,
       1.40.0
...
     These last three variables are available also as environment
       variables:

          BOOST_ROOT or BOOSTROOT      The preferred installation
prefix for searching for
                                       Boost.  Set this if the module
has problems finding
                                       the proper Boost installation.

...


what this means is that 1.41 is not a 'known' version. Either get
FindBoost from CMake CVS or use BOOST_ROOT.

2cts
-- 
Mathieu


More information about the Insight-users mailing list