I was using the system version of Boost, I think 1.40. I build a
custom version, 1.70.0, and rebuild paraview from scratch. Now
configuration failed at the message(FATAL_ERROR) with _vtk_find_package_version = 2.7.16. Below is
the error related to VTK-vtk-module-find-packages:
-- Found Boost 1.70.0 at
/ascldap/users/tesari/local/boost_1_70_0/lib/cmake/Boost-1.70.0
-- Requested configuration: QUIET REQUIRED COMPONENTS
system;filesystem;python
-- Found boost_headers 1.70.0 at
/ascldap/users/tesari/local/boost_1_70_0/lib/cmake/boost_headers-1.70.0
-- Found boost_system 1.70.0 at
/ascldap/users/tesari/local/boost_1_70_0/lib/cmake/boost_system-1.70.0
-- Boost toolset is unknown (compiler 3.8)
-- libboost_system.so.1.70.0
-- Adding boost_system dependencies: headers
-- Found boost_filesystem 1.70.0 at
/ascldap/users/tesari/local/boost_1_70_0/lib/cmake/boost_filesystem-1.70.0
-- Boost toolset is unknown (compiler 3.8)
-- libboost_filesystem.so.1.70.0
-- Adding boost_filesystem dependencies: headers
-- Found boost_python 1.70.0 at
/ascldap/users/tesari/local/boost_1_70_0/lib/cmake/boost_python-1.70.0
-- Boost toolset is unknown (compiler 3.8)
-- libboost_python27.so.1.70.0
-- Adding boost_python dependencies: headers
-- Boost found.
-- Found Boost components:
system;filesystem;python
-- Boost_FOUND = 1
-- Boost_INCLUDE_DIRS =
/ascldap/users/tesari/local/boost_1_70_0/include
-- Boost_LIBRARY_DIRS =
/ascldap/users/tesari/local/boost_1_70_0/lib
-- Boost_LIBRARIES =
-- Boost_VERSION = 1.70.0
-- Boost_LIB_VERSION =
-- Boost_MAJOR_VERSION =
-- Boost_MINOR_VERSION =
-- Boost_SUBMINOR_VERSION=
-- Boost_VERSION_STRING =
-- Boost_LIBRARY_DIR=/ascldap/users/tesari/local/boost_1_70_0/lib
PACKAGE_PREFIX_DIR=
CATALYST_ROOT=/ascldap/users/tesari/projects/paraview/build
CMake Error at
/ascldap/users/tesari/local/cmake/3.14.4/share/cmake-3.14/Modules/FindBoost.cmake:1148
(message):
When requesting a specific version of Boost, you must provide at
least the
major and minor version numbers, e.g., 1.34
Call Stack (most recent call first):
/ascldap/users/tesari/projects/paraview/build/lib64/cmake/paraview-5.6/vtk/VTK-vtk-module-find-packages.cmake:360
(find_package)
/ascldap/users/tesari/projects/paraview/build/lib64/cmake/paraview-5.6/vtk/vtk-config.cmake:115
(include)
/ascldap/users/tesari/projects/paraview/build/lib64/cmake/paraview-5.6/paraview-config.cmake:41
(find_package)
/ascldap/users/tesari/projects/paraview/build/paraview-config.cmake:1
(include)
CMakeLists.txt:360 (find_package)
CMake Error at
/ascldap/users/tesari/local/cmake/3.14.4/share/cmake-3.14/Modules/FindBoost.cmake:2155
(message):
Unable to find the requested Boost libraries.
Boost version: 1.70.0
Boost include path:
/ascldap/users/tesari/local/boost_1_70_0/include
Detected version of Boost is too new. Requested version was
0.0.
Call Stack (most recent call first):
/ascldap/users/tesari/projects/paraview/build/lib64/cmake/paraview-5.6/vtk/VTK-vtk-module-find-packages.cmake:360
(find_package)
/ascldap/users/tesari/projects/paraview/build/lib64/cmake/paraview-5.6/vtk/vtk-config.cmake:115
(include)
/ascldap/users/tesari/projects/paraview/build/lib64/cmake/paraview-5.6/paraview-config.cmake:41
(find_package)
/ascldap/users/tesari/projects/paraview/build/paraview-config.cmake:1
(include)
CMakeLists.txt:360 (find_package)
-- Could not find the VTK package due to a missing dependency:
Boost
CMake Error at CMakeLists.txt:360 (find_package):
Found package configuration file:
/ascldap/users/tesari/projects/paraview/build/paraview-config.cmake
but it set ParaView_FOUND to FALSE so package "ParaView" is
considered to
be NOT FOUND. Reason given by package:
Could not find the ParaView package with the following required
components:
vtkPVPythonCatalyst.
-- Configuring incomplete, errors occurred!