# plugin cannot be configured because of missing ParaViewConfig.cmake

**URL:** https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485
**Category:** Development
**Created:** [June 3, 2020, 10:11am UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485 "2020-06-03T10:11:59Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [June 3, 2020, 10:11am UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/1 "2020-06-03T10:11:59Z")

</div>

I am compiling v5.8 with cmake (3.16.3) installed by default under Ubuntu 20.04

Compilation of ParaView itself works fine, but plugins cannot be configured because I cannot find anywhere (in the build tree, or in the install tree) a file called ParaViewConfig.cmake, or paraview-config.cmake

N.B. I also compiled v5.7 and I had no problem with it. The file paraview-config.cmake is indeed present.

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [June 3, 2020, 10:39am UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/2 "2020-06-03T10:39:30Z")

</div>

This might work: [https://salsa.debian.org/science-team/paraview/-/merge\_requests/1](https://salsa.debian.org/science-team/paraview/-/merge_requests/1)

I haven’t had time to really push on the issue, but please feel free to join.

---

<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: [June 3, 2020, 12:11pm UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/3 "2020-06-03T12:11:48Z")

</div>

I had no idea there was a ParaView 5.8.0 on ubuntu yet.

I can’t find the package in packages list though.

---

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [June 3, 2020, 12:31pm UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/4 "2020-06-03T12:31:53Z")

</div>

I am compiling from source, downloaded from [www.paraview.org](http://www.paraview.org).

This is not from a package.

---

<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: [June 3, 2020, 12:53pm UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/5 "2020-06-03T12:53:50Z")

</div>

can you share your cmake line ?  
are you building your plugin against an install tree ?  
Which ParaView\_DIR are you using ?

---

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [June 3, 2020, 1:06pm UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/6 "2020-06-03T13:06:44Z")

</div>

ooops, my mistake. I found out that PARAVIEW\_INSTALL\_DEVELOPMENT\_FILES had been turned OFF (I have no idea why). Setting it back to its default value fixes it. Sorry for the noise.

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [June 3, 2020, 1:18pm UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/7 "2020-06-03T13:18:35Z")

</div>

My mistake, got ahead of myself. There is a paraview-5.8 in openSUSE science, but debian/ubuntu has 5.7.0 as its most recent.

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [June 3, 2020, 1:24pm UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/8 "2020-06-03T13:24:13Z")

</div>

@jfavre - could you keep us updated on this? IMO the ideal solution (longer-term) would be to use the debian directory from salsa and use that to build paraview-5.8.0 from sources. If it works, or if you need to make any additions then it would be possible to send these upstream to the debian maintainers and help avoid duplicate efforts.

I noticed that their builds were missing a number of cmake files, since 5.7 and 5.8 introduced an extra subdirectory that the debian build wasn’t installing. After making those changes, it rebuild and installed seemingly perfectly, but then I had some strange issues that using these paraview-config files didn’t find MPI properly. I tried backtracking and attempting a build without MPI (as per the merge request), but left this is an unfinished state (ran out of time).  
If you could report back here, that would be absolutely great!

---

<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: [June 4, 2020, 2:55am UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/9 "2020-06-04T02:55:40Z")

</div>

@olesenm : since @jfavre is not using the package recipe but only the install target, I’m not sure how it relate to the packaging of ParaView on ubuntu.

That being said, I’d very much like to help with the improvements and update of the ParaView package on Ubuntu. If you need help with it, do not hesitate to ask.

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [June 5, 2020, 9:43am UTC](https://discourse.paraview.org/t/plugin-cannot-be-configured-because-of-missing-paraviewconfig-cmake/4485/10 "2020-06-05T09:43:33Z")

</div>

Hi @mwestphal - thanks, will contact by email. or hangouts.  
/mark
