[Paraview] Conflict with FindBoost.cmake included with paraview?

Jeff Baumes jeff.baumes at kitware.com
Mon Apr 20 10:42:17 EDT 2009


Thanks for pointing this out. I've just changed VTK to only use its
local FindBoost.cmake if you are using CMake 2.4. Otherwise it will
use the FindBoost located in CMake 2.6.

Jeff

On Thu, Apr 16, 2009 at 4:11 PM, Mike Jackson
<mike.jackson at bluequartz.net> wrote:
> I have using the PARAVIEW_EXTRA_EXTERNAL_MODULES method to compile my
> plugin into paraview. My own code needs boost and makes its own calls
> to find_package(..) to find boost. This works just fine with the
> FindBoost.cmake that comes with CMake 2.6.3 so I know what I am doing
> works correctly. Now when I run cmake on ParaView (Latest CVS) I get
> the following error:
>
>
> WARNING: You are using Qt 4.4.3. Officially supported version is Qt 4.3
> -- [PVRoboMet] MXADATAMODEL_TARGET_ADDED: ''
> -- Plugin: [PVRoboMet] adding MXADataModel Library
> CMake Error at /Users/Shared/Kitware-CVS/ParaView3/VTK/CMake/FindBoost.cmake:362
> (IF):
>  if had incorrect arguments: ${Boost_MINOR_VERSION} GREATER 35 (Unknown
>  arguments specified).
> Call Stack (most recent call first):
>  /Users/mjackson/Workspace/MXADataModel/Resources/CMake/FindSupportLibraries.cmake:13
> (FIND_PACKAGE)
>  /Users/mjackson/Workspace/MXADataModel/CMakeLists.txt:98 (INCLUDE)
>
>
> -- Configuring incomplete, errors occurred!
>
> The contents of my cmake file at the line where the error occurred is
> the following:
>
> SET (Boost_FIND_REQUIRED TRUE)
> SET (Boost_FIND_QUIETLY TRUE)
> set (Boost_USE_MULTITHREADED TRUE)
> set (Boost_USE_STATIC_LIBS TRUE)
>
> FIND_PACKAGE(Boost 1.36 COMPONENTS  program_options
> unit_test_framework test_exec_monitor)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
> I put in some debug statements into the FindBoost.cmake file and it
> seems that the Boost_VERSION is not getting defined.
> 520:[mjackson at Ferb:Build]$ cmake ../
> WARNING: You are using Qt 4.4.3. Officially supported version is Qt 4.3
> -- [PVRoboMet] MXADATAMODEL_TARGET_ADDED: ''
> -- Plugin: [PVRoboMet] adding MXADataModel Library
> -- Boost_VERSION:
> -- Boost_MINOR_VERSION:
>
>
> And replacing the FindBoost.cmake with the one from CMake 2.6.3 allows
> the configuration to proceed to completion without errors.
>
> So would it be possible to update the FindBoost.cmake that is included
> to the one from CMake 2.6.3?
>
> Thanks
> Mike Jackson
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.baumes at kitware.com


More information about the ParaView mailing list