# Build a plugin from ParaView Wiki

**URL:** https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578
**Category:** ParaView Support
**Created:** [April 1, 2019, 3:20pm UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578 "2019-04-01T15:20:12Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![e-kolosov](https://discourse.paraview.org/user_avatar/discourse.paraview.org/e-kolosov/32/2375_2.png) [@e-kolosov](https://discourse.paraview.org/u/e-kolosov)
#### Post date: [April 1, 2019, 3:20pm UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578/1 "2019-04-01T15:20:12Z")

</div>

Hello.  
How can I build [http://paraview.org/Wiki/images/b/b9/LandmarkTransformPlugin\_v2.zip](http://paraview.org/Wiki/images/b/b9/LandmarkTransformPlugin_v2.zip)?  
Is command “ADD\_PARAVIEW\_PLUGIN” deprecated? How to fix CMakeLists.txt correctly so that I can build this plugin outside the ParaView’s sources?  
Thanks in advance.

---

<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: [April 1, 2019, 3:22pm UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578/2 "2019-04-01T15:22:04Z")

</div>

Are you building with master ? In this case, yes it is deprecated and the wiki has not been updated yet. The changes have not been finalized.

---

<div class="post-metadata">

### Author: ![e-kolosov](https://discourse.paraview.org/user_avatar/discourse.paraview.org/e-kolosov/32/2375_2.png) [@e-kolosov](https://discourse.paraview.org/u/e-kolosov)
#### Post date: [April 1, 2019, 3:35pm UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578/3 "2019-04-01T15:35:53Z")

</div>

Thanks, Mathieu.  
Yes, I’m building with master. What is the best way to build native(c++) ParaView plugin? How should to fix CMakeLists in this example?

---

<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: [April 1, 2019, 3:42pm UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578/4 "2019-04-01T15:42:04Z")

</div>

Unless you have specific reasons to build with master, I would suggest to build with ParaView 5.6.0 to avoid these complications for now.

If you need to use master, there are no guides yet, but Plugin/BagPlotViewsAndFilters is a good example of the new module system.

---

<div class="post-metadata">

### Author: ![e-kolosov](https://discourse.paraview.org/user_avatar/discourse.paraview.org/e-kolosov/32/2375_2.png) [@e-kolosov](https://discourse.paraview.org/u/e-kolosov)
#### Post date: [April 1, 2019, 3:47pm UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578/5 "2019-04-01T15:47:34Z")

</div>

Thanks again, Mathieu! I will try.

---

<div class="post-metadata">

### Author: ![e-kolosov](https://discourse.paraview.org/user_avatar/discourse.paraview.org/e-kolosov/32/2375_2.png) [@e-kolosov](https://discourse.paraview.org/u/e-kolosov)
#### Post date: [April 3, 2019, 11:15am UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578/6 "2019-04-03T11:15:28Z")

</div>

I renewed CMakeLists.txt and now it’s can build with master branch. [LandmarkTransform.zip](https://discourse.paraview.org/uploads/default/original/2X/4/4a4680321c1d1d2ed6c68abb0c7c732722595d68.zip) (4.2 KB)

---

<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: [April 4, 2019, 7:55am UTC](https://discourse.paraview.org/t/build-a-plugin-from-paraview-wiki/1578/7 "2019-04-04T07:55:34Z")

</div>

Thanks @e-kolosov !
