[Paraview] Weird boost error during ccmake

Marcus D. Hanwell marcus.hanwell at kitware.com
Mon Jul 11 16:23:23 EDT 2011


If you look in your CMakeCache.txt do you see a Boost_VERSION variable
set in there? That can override what is in the actual header.

Marcus

On Mon, Jul 11, 2011 at 4:11 PM, Cook, Rich <cook47 at llnl.gov> wrote:
> That's why I thought it peculiar.
> I have the same thing  (note I've renamed a directory from 3.10 to 3.11):
>
> rcook at edge83 (blockbuster): grep BOOST_LIB_VERSION /nfs/tmp2/rcook/ParaView/3.11/build/boost_1_46_1/boost/version.hpp
> //  BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
> #define BOOST_LIB_VERSION "1_46_1"
>
> rcook at edge83 (blockbuster): grep 'define BOOST_VERSION' /nfs/tmp2/rcook/ParaView/3.11/build/boost_1_46_1/boost/version.hpp
> #define BOOST_VERSION_HPP
> #define BOOST_VERSION 104601
>
>
> And yet I get:
>
>  Your system is using an outdated version of Boost (1.33.1, found in
>  /nfs/tmp2/rcook/ParaView/3.11/build/boost_1_46_1).  Some of the graph
>  processing filters require version 1.36.0 or later to build on 64-bit
>  platforms.
>
>  The system will still compile but those filters will be disabled.  Please see
>  ParaView3/VTK/Infovis/CMakeLists.txt for more information.
>
>
> On Jul 11, 2011, at 12:44 PM, Marcus D. Hanwell wrote:
>
>> On Fri, Jul 1, 2011 at 10:02 PM, Cook, Rich <cook47 at llnl.gov> wrote:
>>> I got this error.  I hope it's obvious why I think it's weird.  I'm building against boost 1.46.  Or thought I was.  This message seems to imply it's looking at the system boost in /usr/include/boost
>>>
>>>  Your system is using an outdated version of Boost (1.33.1, found in
>>>  /nfs/tmp2/rcook/ParaView/3.10/build/boost_1_46_1).  Some of the graph
>>>  processing filters require version 1.36.0 or later to build on 64-bit
>>>  platforms.
>>>
>> You might want to double check the version.hpp file in
>> /nfs/tmp2/rcook/ParaView/3.10/build/boost_1_46_1/boost to ensure it is
>> setting the correct version number, as the Boost find module uses that
>> file to compute the version. I have,
>>
>> #define BOOST_VERSION 104601
>>
>> The parts of the version number are extracted from this line. If you
>> want to send me the CMakeCache.txt off-list I can take a look for any
>> peculiarities, but the file is processed from the Boost_INCLUDE_DIR
>> variable that is sent as part of the error message.
>>
>> Marcus
>
> --
> ✐Richard Cook
> ✇ Lawrence Livermore National Laboratory
> Bldg-453 Rm-4024, Mail Stop L-557
> 7000 East Avenue,  Livermore, CA, 94550, USA
> ☎ (office) (925) 423-9605
> ☎ (fax) (925) 423-6961
> ---
> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> (opinions expressed herein are mine and not those of LLNL)
>
>
>
>


More information about the ParaView mailing list