# Plugin development: Cannot open include file	vtkSMRepresentationProxy.h

**URL:** https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153
**Category:** Development
**Created:** [March 14, 2024, 10:26am UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153 "2024-03-14T10:26:20Z")
**Posts on this page:** 8
**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:26am UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/1 "2024-03-14T10:26:20Z")

</div>

Hello dear Paraview developers!

I came across such an issue, however, in the paraview.plugin of a correspondent plugin:

```auto
REQUIRES_MODULES
  ParaView::pqComponents
  ParaView::pqApplicationComponents
  ParaView::RemotingViews

```

I am a bit confused  
What’s wrong with it? Should not in automatically add the correspondent files from build directory to include\_directories to be searched if I write in down in paraview.plugin?

Best regards

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [March 14, 2024, 2:30pm UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/2 "2024-03-14T14:30:34Z")

</div>

`ParaView::RemotingViews` is indeed the module that should add `paraview/Remoting/Views/` to your include path.

Can you provide more details about the plugin you are trying to build?

---

<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, 2:43pm UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/3 "2024-03-14T14:43:43Z")

</div>

You are probably missing this in your CMakeLists.txt:

```auto
target_link_libraries(YourPlugin
  PRIVATE
    ParaView::RemotingViews)

```

---

<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, 3:12pm UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/4 "2024-03-14T15:12:26Z")

</div>

Hello dear Mathieu

Is not it done automatically if I write down that the module is REQUIRED in paraview.plugin file ?

---

<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:14pm UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/5 "2024-03-14T15:14:36Z")

</div>

Sadly not in certain specific case.

---

<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, 3:23pm UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/6 "2024-03-14T15:23:50Z")

</div>

Could you explain please, why it is so?

---

<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:27pm UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/7 "2024-03-14T15:27:57Z")

</div>

This is a related to the fact that a paraview plugin, despite being similar, is not a true VTK module.

But I’m sure @ben.boeckel could give you a detailed answer.

---

<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:56pm UTC](https://discourse.paraview.org/t/plugin-development-cannot-open-include-file-vtksmrepresentationproxy-h/14153/8 "2024-04-01T20:56:15Z")

</div>

Answered here: [paraview.plugin? How to include all necessary directories in Paraview? - #3 by ben.boeckel](https://discourse.paraview.org/t/paraview-plugin-how-to-include-all-necessary-directories-in-paraview/14154/3)
