# Is it possible create custom reader (static library) for paraview?

**URL:** https://discourse.paraview.org/t/is-it-possible-create-custom-reader-static-library-for-paraview/5357
**Category:** ParaView Support
**Created:** [September 16, 2020, 2:14am UTC](https://discourse.paraview.org/t/is-it-possible-create-custom-reader-static-library-for-paraview/5357 "2020-09-16T02:14:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lyz](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@lyz](https://discourse.paraview.org/u/lyz)
#### Post date: [September 16, 2020, 2:14am UTC](https://discourse.paraview.org/t/is-it-possible-create-custom-reader-static-library-for-paraview/5357/1 "2020-09-16T02:14:52Z")

</div>

For now, I use paraview (static library, v5.7.0) build from source. And I wanna create my own reader, I follow this link [paraview howto](https://kitware.github.io/paraview-docs/v5.7.0/cxx/PluginHowto.html), and I build ‘MyPNGReader’ using static library, generate MyPNGReader.lib finally. However, I can’t load the lib file into paraview. Can you give me some tips?  
By the way, I build the static paraview with the official plugins, it also generate lib files and the lib files can be loaded into paraview and it works (I test gltf reader plugin, GLTFReader.lib).

---

<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 16, 2020, 8:15am UTC](https://discourse.paraview.org/t/is-it-possible-create-custom-reader-static-library-for-paraview/5357/2 "2020-09-16T08:15:46Z")

</div>

> I build ‘MyPNGReader’ using static library,

It is not supported to load plugin as static library or into a statically built ParaView.

> [@lyz](#):
>
> However, I can’t load the lib file into paraview.

You need to build dynamically and load the .dll into ParaView.

---

<div class="post-metadata">

### Author: ![lyz](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@lyz](https://discourse.paraview.org/u/lyz)
#### Post date: [September 16, 2020, 8:27am UTC](https://discourse.paraview.org/t/is-it-possible-create-custom-reader-static-library-for-paraview/5357/3 "2020-09-16T08:27:58Z")

</div>

Thank you very much.
