# Unable to find paraview library installed from source

**URL:** https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299
**Category:** ParaView Support
**Tags:** vtk
**Created:** [September 9, 2020, 9:16am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299 "2020-09-09T09:16:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![carlosprados11](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@carlosprados11](https://discourse.paraview.org/u/carlosprados11)
#### Post date: [September 9, 2020, 9:16am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/1 "2020-09-09T09:16:25Z")

</div>

Hi everyone.

I am having some problems finding the library paraview from others libraries. I installed paraview library from source, but other libraries don’t find it. This is the error provided:

```
CMake Error at paraview_wrapping/CMakeLists.txt:3 (find_package):
By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ParaView",
but CMake did not find one.

Could not find a package configuration file provided by "ParaView" with any
of the following names:

  ParaViewConfig.cmake
  paraview-config.cmake

Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
"ParaView_DIR" to a directory containing one of the above files. If
"ParaView" provides a separate development package or SDK, be sure it has
been installed.

```

However, when I indicate explicitly the path of the source code build folder (where the file `ParaViewConfig.cmake` has been created), it find the file, but some targets seems undefined:

```
CMake Error at /home/robotronics/Libs/paraview/build/ParaViewTargets.cmake:41 (message):
Some (but not all) targets in this export set were already defined.

Targets not yet defined:

vtkProbeOpenGLVersion;vtkGUISupportQt; ... ;vtkWrapClientServer;protoc_compiler;kwProcessXML

```

Could anyone help me find the problem?

Thanks a lot in advance,  
Carlos.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 9, 2020, 9:19am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/2 "2020-09-09T09:19:39Z")

</div>

> [@carlosprados11](#):
>
> I installed paraview library from source,

What do you mean by that ?

---

<div class="post-metadata">

### Author: ![carlosprados11](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@carlosprados11](https://discourse.paraview.org/u/carlosprados11)
#### Post date: [September 9, 2020, 10:04am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/3 "2020-09-09T10:04:41Z")

</div>

The problem is that when I try to build another library with paraview dependence, it doesn’t find it. I followed the installation tutorial of paraview and it works, but the library is not found externally by others. Any idea how to find the library path?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 9, 2020, 11:21am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/4 "2020-09-09T11:21:11Z")

</div>

> [@carlosprados11](#):
>
> followed the installation tutorial of paraview

Which one ?  
Which steps do you take ?

---

<div class="post-metadata">

### Author: ![carlosprados11](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@carlosprados11](https://discourse.paraview.org/u/carlosprados11)
#### Post date: [September 9, 2020, 2:44pm UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/5 "2020-09-09T14:44:07Z")

</div>

I followed this tutorial for Ubuntu 18.04 LTS: [https://github.com/Kitware/ParaView/blob/master/Documentation/dev/build.md](https://github.com/Kitware/ParaView/blob/master/Documentation/dev/build.md)

Executing:

```
    git clone --recursive https://gitlab.kitware.com/paraview/paraview.git
    mkdir paraview_build
    cd paraview_build
    cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DCMAKE_BUILD_TYPE=Release ../paraview
    ninja
    sudo ninja install

```

And testing that the library is properly installed running `./bin/paraview`  
The problem is finding the library from another.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 9, 2020, 2:48pm UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/6 "2020-09-09T14:48:30Z")

</div>

Are you able to build one of the example plugin from ParaView source ?

---

<div class="post-metadata">

### Author: ![carlosprados11](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@carlosprados11](https://discourse.paraview.org/u/carlosprados11)
#### Post date: [September 11, 2020, 9:43am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/7 "2020-09-11T09:43:03Z")

</div>

Yes, it is possible to do

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 11, 2020, 9:44am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/8 "2020-09-11T09:44:23Z")

</div>

Then you have a problem in the CMakeLists.txt you are using.

---

<div class="post-metadata">

### Author: ![Zuhaib\_Nissar](https://discourse.paraview.org/user_avatar/discourse.paraview.org/zuhaib_nissar/32/12270_2.png) [@Zuhaib\_Nissar](https://discourse.paraview.org/u/Zuhaib_Nissar)
#### Post date: [August 22, 2023, 9:57am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-library-installed-from-source/5299/9 "2023-08-22T09:57:34Z")

</div>

Installing few dependencies for qt fixed my issue. See below.

sudo apt install qtbase5-dev libqt5x11extras5-dev libqt5svg5-dev qtdeclarative5-dev libqt5charts5-dev libmuparser-dev
