# paraview.plugin? How to include all necessary directories in Paraview?

**URL:** https://discourse.paraview.org/t/paraview-plugin-how-to-include-all-necessary-directories-in-paraview/14154
**Category:** Development
**Created:** [March 14, 2024, 10:54am UTC](https://discourse.paraview.org/t/paraview-plugin-how-to-include-all-necessary-directories-in-paraview/14154 "2024-03-14T10:54:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [March 14, 2024, 10:54am UTC](https://discourse.paraview.org/t/paraview-plugin-how-to-include-all-necessary-directories-in-paraview/14154/1 "2024-03-14T10:54:57Z")

</div>

Hello everybody!

I am trying to develop a paraview plugin, however, it does not compile

For example, it says,

```auto
Cannot open include file: 'vtkChartsCoreModule.h': No such file or directory

```

But I have written into the paraview.plugin:

```auto
REQUIRES_MODULES
  VTK::ChartsCore

```

What could be wrong?

Thank u!

---

<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: [March 14, 2024, 3:49pm UTC](https://discourse.paraview.org/t/paraview-plugin-how-to-include-all-necessary-directories-in-paraview/14154/2 "2024-03-14T15:49:58Z")

</div>

Are you using vtkChartCore directly in the plugin ? Not in an internal VTK module of the plugin ?

---

<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: [April 1, 2024, 8:55pm UTC](https://discourse.paraview.org/t/paraview-plugin-how-to-include-all-necessary-directories-in-paraview/14154/3 "2024-04-01T20:55:16Z")

</div>

Plugins do not automatically link to required modules (because an inner module could be what needs it). Plugin targets should explicitly link to dependencies (such as `VTK::ChartsCore`).
