# VTK-vtk-module-find-packages.cmake fails to find Boost

**URL:** https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947
**Category:** In Situ Support
**Created:** [May 28, 2019, 5:31pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947 "2019-05-28T17:31:35Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 28, 2019, 5:31pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/1 "2019-05-28T17:31:35Z")

</div>

Hi,

I got and build the latest version of paraview from gitlab. When building my code with paraview, I get a weird error. CMake finds boost as expected:

find\_package(Boost 1.53 REQUIRED COMPONENTS python):

– Boost version: 1.53.0  
– Found the following Boost libraries:  
– python  
– Boost\_FOUND=1  
– Boost\_FIND\_VERSION\_EXACT=  
– Version/minor /  
– :CMAKE\_CXX\_COMPILER\_VERSION=3.8  
– Boost\_VERSION=105300  
– Boost\_FIND\_VERSION=  
– Boost\_FIND\_VERSION\_MINOR=  
– Boost\_LIBRARIES=/usr/lib64/libboost\_python-mt.so  
– Boost\_INCLUDE\_DIRS=/usr/include  
– Boost\_LIBRARY\_DIRS=/usr/lib64

Later, find\_package(Boost) is called again from vtk/VTK-vtk-module-find-packages.cmake:313:

find\_package(Boost  
…  
EXACT

```
${_vtk_module_find_package_quiet}
${_vtk_module_find_package_required}
COMPONENTS         
OPTIONAL_COMPONENTS )

```

and fails:  
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:313 (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:347 (  
find\_package(ParaView 5.6 NO\_PACKAGE\_ROOT\_PATH REQUIRED COMPONENTS ${CATALYST\_LIBRARIES})

I am working with cmake 3.14.4 on Linux x86\_64. I tried to find boost without specifying a version, same result. What do I miss here?

Any help is highly appreciated.

Thanks,

Ted

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 28, 2019, 6:06pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/2 "2019-05-28T18:06:37Z")

</div>

Hmm. It seems that our version extraction failed when compiling VTK itself. `"@Boost_MAJOR_VERSION@.@Boost_MINOR_VERSION@.@Boost_SUBMINOR_VERSION@"` should be configured to get the version number. If you log what’s going on with `_vtk_find_package_version` in `vtkModule.cmake` when configuring VTK around line 3600, what do you see?

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 28, 2019, 8:26pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/3 "2019-05-28T20:26:16Z")

</div>

HI,

```
  Looks like that configuration never reaches line 3600. To make

```

sure that is the case, I put \*\* message(FATAL\_ERROR  
…\*\* at line 3600, removed VTK from the build  
directory, and run cmake again. VTK was reconfigured.

Thanks,

Ted

```auto

           string(REGEX REPLACE
"${_vtk_find_package_version_regex}" "\\1"
                _vtk_find_package_found_version
"${_vtk_find_package_version}")
              unset(_vtk_find_package_version_regex)
              unset(_vtk_find_package_version)

        ** message(FATAL_ERROR "_vtk_find_package_version =
${_vtk_find_package_version}")**

              set_property(GLOBAL
```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 28, 2019, 8:30pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/4 "2019-05-28T20:30:47Z")

</div>

I don’t think line 3600 is exact (it depends on what version of the file you’re looking at). There’s logic around there that sets the `_vtk_find_package_version` variable:

```auto
      string(FIND "${_vtk_find_package_VERSION_VAR}" "@" _vtk_find_package_idx)
      if (_vtk_find_package_idx EQUAL -1)
        if (NOT DEFINED "${_vtk_find_package_VERSION_VAR}")
          message(FATAL_ERROR
            "The `${_vtk_find_package_VERSION_VAR}` variable is not defined.")
        endif ()
        set(_vtk_find_package_version "${${_vtk_find_package_VERSION_VAR}}")
      else ()
        string(CONFIGURE "${_vtk_find_package_VERSION_VAR}" _vtk_find_package_version)
      endif ()
      message(FATAL_ERROR ...) # add this line

```

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 28, 2019, 10:57pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/5 "2019-05-28T22:57:48Z")

</div>

```auto
I moved message(FATAL_ERROR ...)
where you pointed, no difference. Configuration is successful, with no interruption and no error messages. As to the configuration failure of the release branch, shall I open a separate ticket?

```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 29, 2019, 12:16pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/6 "2019-05-29T12:16:23Z")

</div>

Hmm. What distribution of Boost are you using and on what platform?

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 30, 2019, 2:42pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/7 "2019-05-30T14:42:33Z")

</div>

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:

```auto
      -- 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!

```

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 30, 2019, 2:55pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/8 "2019-05-30T14:55:06Z")

</div>

Forgot to add system info: Linux  
3.10.0-957.el7.x86\_64, cmake version 3.14.4

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 30, 2019, 6:14pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/9 "2019-05-30T18:14:55Z")

</div>

Hmm. If you change the instances of `VERSION_VAR "@Boost_…"` in the following files:

- `Infovis/Boost/CMakeLists.txt`
- `Infovis/BoostGraphAlgorithms/CMakeLists.txt`
- `ThirdParty/xdmf3/vtkxdmf3/core/CMakeLists.txt`

with `VERSION_VAR Boost_VERSION`, and then rebuild ParaView, does that solve the issue? We may need to do some different logic for different versions of `FindBoost` here.

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 30, 2019, 6:34pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/10 "2019-05-30T18:34:10Z")

</div>

Is this correct?

```
    # VERSION_VAR        

```

)  
VERSION\_VAR “@Boost\_VERSION@”)

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 30, 2019, 7:43pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/11 "2019-05-30T19:43:43Z")

</div>

I eplaced

```
  # VERSION_VAR )

```

with

VERSION\_VAR “@Boost\_VERSION@”).

and rebuilt paraview. Now configuration pass VTK-vtk-module-find-packages,  
but fail with ‘Could not find …  
vtkPVPythonCatalyst’.  
vtkPVPythonCatalyst is  
present under …/build/lib64/python2.7/site-packages/paraview/module,  
and have it LD\_LIBRARY\_PATH and PYTHONPATH (see below).

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 30, 2019, 8:10pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/12 "2019-05-30T20:10:08Z")

</div>

I suspect you forgot to paste the information you mention. However, `find_package` doesn’t care about `LD_LIBRARY_PATH` or `PYTHONPATH` anyways. There should be more information in the error message that it couldn’t find the component. The actual issue here is that the component is called `PythonCatalyst` (the `vtkPV` is just a library name differentiator; it shows up in CMake as `ParaView::PythonCatalyst` which is where the component name comes from).

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 30, 2019, 8:34pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/13 "2019-05-30T20:34:17Z")

</div>

I sent it in a separate mail. Here it is:

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 30, 2019, 8:54pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/14 "2019-05-30T20:54:19Z")

</div>

> > There should be more information in the  
> > error message that it couldn’t find the component.

```
  Not sure how to make it more verbose. The lines below are from

```

find\_package(ParaView), and it is all I see. Attached are the  
error and output logs. Please let me know if need more  
information.

```
    -- Found Boost 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/Boost-1.70.0

```
    -- Requested configuration: QUIET REQUIRED

    -- Boost 1.70.0 found.

    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.

```

[CMakeError.log](https://discourse.paraview.org/uploads/default/original/2X/d/d1937bd50d0209731f3d27511e35bc7e89e28ccf.log) (2.06 KB)

[CMakeOutput.log](https://discourse.paraview.org/uploads/default/original/2X/b/bbc85d94a91a4ed3d339888b4bed853b03f7d09d.log) (126 KB)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 31, 2019, 1:29pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/15 "2019-05-31T13:29:26Z")

</div>

Change your `find_package(ParaView REQUIRED COMPONENTS vtkPVPythonCatalyst)` to `find_package(ParaView REQUIRED COMPONENTS PythonCatalyst)`.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 31, 2019, 2:16pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/16 "2019-05-31T14:16:23Z")

</div>

I’ll test out 1.70.0 here locally to see what’s up, but yes, that will work.

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 31, 2019, 4:36pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/17 "2019-05-31T16:36:54Z")

</div>

Yes, configuration is successful, thanks!

I have some issue building my code, e.g. “Cannot  
find vtkNew.h” . When I use a Catalyst build, I have  
something like:

```
    find_package(ParaView 5.6 NO_PACKAGE_ROOT_PATH

```

REQUIRED COMPONENTS `vtkPVPythonCatalyst`)

```
      include("${PARAVIEW_USE_FILE}")

```

When building the code with Paraview, there is no ${PARAVIEW\_USE\_FILE}. Is  
there ${ParaView\_INCLUDE\_DIR }?  
Where can I look what variables are set by find\_package(ParaView)?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 31, 2019, 4:38pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/18 "2019-05-31T16:38:25Z")

</div>

So I downloaded 1.70.0 from [boost.org](http://boost.org) and built/installed it. Using CMake 3.14.4, VTK got `find_package(Boost)` set up properly in the `VTK-vtk-module-find-packages.cmake` file, so debugging to figure out why the `Boost_MAJOR_VERSION` and related variables are not defined in your case would be required, but I can’t reproduce myself it here with the information available here.

---

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [May 31, 2019, 5:11pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/19 "2019-05-31T17:11:31Z")

</div>

Not sure that thsi relates to the issue, but I just noticed that  
Found Boost 1.70.0 alternates with Boost 1.40 found:

```
    -- Found Boost 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/Boost-1.70.0

```
    -- Requested configuration: QUIET

    -- Found boost_headers 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/boost\_headers-1.70.0

```
    -- Boost found.

    -- Found Boost 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/Boost-1.70.0

```
    -- Requested configuration: QUIET REQUIRED

    -- Found boost_headers 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/boost\_headers-1.70.0

```
    -- Boost 1.40 found.

    -- Found X11: /usr/include  

    -- Found Boost 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/Boost-1.70.0

```
    -- Requested configuration: QUIET REQUIRED

    -- Found boost_headers 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/boost\_headers-1.70.0

```
    -- Boost 1.40 found.

    -- Found Boost 1.70.0 at

```

/ascldap/users/tesari/local/boost\_1\_70\_0/lib/cmake/Boost-1.70.0

```
    -- Requested configuration: QUIET REQUIRED

    -- Boost found.
```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 31, 2019, 7:17pm UTC](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947/20 "2019-05-31T19:17:32Z")

</div>

> When building the code with Paraview, there is no ${PARAVIEW\_USE\_FILE}.

This is no longer a thing. ParaView is ready-to-use right after `find_package` now. It is also consumed by targets now, so `ParaView_INCLUDE_DIR` isn’t necessary anymore. Instead, just link to `ParaView::Catalyst` or whichever targets you’d like to use (`vtk_module_autoinit` may be required for some usecases). The list of available variables can be found at the top of `paraview-config.cmake`: [https://gitlab.kitware.com/paraview/paraview/blob/master/CMake/paraview-config.cmake.in](https://gitlab.kitware.com/paraview/paraview/blob/master/CMake/paraview-config.cmake.in)

> [@tesari](#):
>
> Not sure that thsi relates to the issue, but I just noticed that  
> Found Boost 1.70.0 alternates with Boost 1.40 found:

Uh, that could certainly be a problem. I also see ` -- Boost found.` there which is a Boost found without a version number. I suspect something is quite wrong with your Boost install(s). Make sure that all Boost variables in the cache for ParaView and your project are consistently using a single Boost version.

[Next page](https://discourse.paraview.org/t/vtk-vtk-module-find-packages-cmake-fails-to-find-boost/1947.md?page=2)
